/* Account Page Styles */
.auth-page {
    padding: 80px 0;
    background-color: #f8f9fa;
    min-height: calc(100vh - 400px);
    display: flex;
    align-items: center;
}

.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.auth-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.auth-card h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #000;
}

.auth-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 16px;
}

/* Forms */
.form-field {
    text-align: left;
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

.form-field input {
    width: 100%;
    height: 45px;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    padding: 0 15px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-field input:focus {
    border-color: #000;
    outline: none;
}

.form-errors {
    background-color: #fff5f5;
    color: #cc0000;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.errorlist {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #cc0000;
    font-size: 13px;
}

/* Buttons */
.auth-btn {
    width: 100%;
    height: 50px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.auth-btn:hover {
    background-color: #333;
}

.auth-secondary-btn {
    display: inline-block;
    margin-top: 15px;
    color: #666;
    font-size: 14px;
    text-decoration: underline;
}

.auth-secondary-btn:hover {
    color: #000;
}

/* Social Login */
.socialaccount_ballot {
    margin-bottom: 25px;
}

.socialaccount_providers {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.socialaccount_provider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 45px;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    color: #333;
    transition: background-color 0.3s ease;
}

.socialaccount_provider:hover {
    background-color: #f8f9fa;
}

.login-or {
    position: relative;
    margin: 20px 0;
    text-align: center;
}

.login-or::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e1e1e1;
    z-index: 1;
}

.login-or span {
    position: relative;
    background-color: #fff;
    padding: 0 15px;
    color: #999;
    font-size: 14px;
    z-index: 2;
}

/* Links */
.auth-links {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #666;
}

.auth-links a {
    color: #000;
    font-weight: 600;
}

/* Email List */
.email_list {
    margin: 20px 0;
    text-align: left;
}

.email_list label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 10px;
    cursor: pointer;
}

.email_list label:hover {
    background-color: #f9f9f9;
}

.email_list input[type="radio"] {
    width: auto;
    height: auto;
    margin: 0;
}

.status-label {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-verified {
    background-color: #e6fcf5;
    color: #087f5b;
}

.status-unverified {
    background-color: #fff5f5;
    color: #c92a2a;
}

.status-primary {
    background-color: #e7f5ff;
    color: #1971c2;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.btn-small {
    padding: 0 15px;
    height: 35px;
    font-size: 13px;
    line-height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #000;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-small:hover {
    background: #000;
    color: #fff;
}

.alert-warning {
    background-color: #fff9db;
    border: 1px solid #ffec99;
    color: #862e08;
    padding: 15px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: left;
}

/* Connection Management */
.connection-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 15px;
    text-align: left;
    gap: 15px;
}

.connection-icon {
    font-size: 24px;
    color: #333;
}

.connection-info {
    flex-grow: 1;
}

.connection-name {
    font-weight: 600;
    font-size: 16px;
    display: block;
    text-transform: capitalize;
}

.connection-id {
    font-size: 13px;
    color: #888;
}

.connection-action {
    display: flex;
    align-items: center;
}

.connection-action input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}