body {
    background-color: white;
    font-family: Arial, sans-serif;
    color: #333;
}

.login-card {
    width: 100%;
    max-width: 440px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.custom-input .form-control {
    border-left: none;
}

.custom-input .input-group-text {
    background-color: white;
    border-right: none;
}

.custom-green-btn:hover {
    background-color: #0c8200;
    border-color: #0c8200;
}

.custom-google-btn {
    background-color: #4285f4;
    border-color: #4285f4;
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-google-btn:hover {
    background-color: #357ae8;
    border-color: #357ae8;
}

.custom-apple-btn {
    border-color: #ced4da;
    color: #15223b;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-apple-btn:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
    color: #15223b;
}


.or-separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: #6c757d;
}

.or-separator::before,
.or-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}

.or-separator:not(:empty)::before {
    margin-right: .5em;
}

.or-separator:not(:empty)::after {
    margin-left: .5em;
}

.or-text {
    font-weight: 500;
    padding: 0 10px;
}

.forgot-link a,
.no-account-link a {
    color: #14a800 !important;
    font-weight: 500;
}

.no-account-link {
    font-size: 1.1rem;
}

/* Signup Page Styles */
.main-content {
    min-height: 80vh;
    padding-top: 2rem;
}

.account-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    width: 280px;
    height: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.account-card:hover {
    border-color: #14a800;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 168, 0, 0.1);
}

.account-card.selected {
    border-color: #14a800;
    background-color: rgba(20, 168, 0, 0.02);
    box-shadow: 0 0 0 2px #14a800, 0 8px 20px rgba(20, 168, 0, 0.1);
}

.icon-large {
    font-size: 2.5rem;
    color: #14a800;
    margin-bottom: 1rem;
}

.account-card h5 {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.account-card p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.4;
}

.radio-indicator {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.account-card.selected .radio-indicator {
    border-color: #14a800;
    background-color: #14a800;
}

.account-card.selected .radio-indicator::after {
    content: '✓';
    color: white;
    font-size: 0.875rem;
    font-weight: bold;
}

.custom-green-btn {
    background-color: #14a800;
    border-color: #14a800;
    color: white;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.custom-green-btn:hover:not(:disabled) {
    background-color: #0c8200;
    border-color: #0c8200;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20, 168, 0, 0.2);
}

.custom-green-btn:disabled {
    background-color: #e4ebe4;
    border-color: #e4ebe4;
    color: #9fb29f;
    cursor: not-allowed;
}

.form-control-custom {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    border-color: #14a800;
    box-shadow: 0 0 0 3px rgba(20, 168, 0, 0.1);
    outline: none;
}

.form-label-custom {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.hidden {
    display: none !important;
}

.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
}

.password-toggle:hover {
    color: #333;
}

.country-select-wrapper {
    position: relative;
}

.country-select-wrapper:after {
    content: '▼';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
    font-size: 0.8rem;
}

.country-select {
    appearance: none;
    padding-right: 35px;
    cursor: pointer;
}

.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    gap: 8px;
}

.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
    transition: all 0.3s ease;
}

.step-dot.active {
    background-color: #14a800;
    transform: scale(1.2);
}

.back-button {
    background: none;
    border: none;
    color: #666;
    padding: 0;
    margin-bottom: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-button:hover {
    color: #333;
}

.back-button i {
    font-size: 0.875rem;
}

.btn-social {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-weight: 500;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    background: white;
    color: #333;
    font-size: 1rem;
}

.btn-social:hover {
    background-color: #f8f9fa;
    border-color: #ccc;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-social:active {
    transform: translateY(0);
}

.btn-social i {
    font-size: 1.2rem;
}

.btn-social.google img {
    width: 18px;
    height: 18px;
}

.or-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.or-separator::before,
.or-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.or-separator:not(:empty)::before {
    margin-right: 1em;
}

.or-separator:not(:empty)::after {
    margin-left: 1em;
}

.form-check-input:checked {
    background-color: #14a800;
    border-color: #14a800;
}

.form-check-label a {
    color: #14a800;
    text-decoration: none;
    font-weight: 500;
}

.form-check-label a:hover {
    text-decoration: underline;
}

.form-text {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .account-card {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 1rem;
    }

    .choice-container {
        flex-direction: column;
        align-items: center;
    }

    .registration-container {
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding-top: 1rem;
    }

    .account-card {
        height: 160px;
        padding: 1.5rem;
    }

    .icon-large {
        font-size: 2rem;
    }

    h1 {
        font-size: 1.75rem;
    }
}

.registration-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.registration-header {
    text-align: center;
    margin-bottom: 2rem;
}

.btn-social {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-weight: 500;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
}

.btn-social:hover {
    background-color: #f8f9fa;
}

.btn-social.apple {
    color: #000;
    background-color: #fff;
}

.btn-social.google {
    color: #000;
    background-color: #fff;
}

.or-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #666;
    font-size: 0.9rem;
}

.or-separator::before,
.or-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.or-separator:not(:empty)::before {
    margin-right: 1em;
}

.or-separator:not(:empty)::after {
    margin-left: 1em;
}

.form-control-custom {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.form-control-custom:focus {
    border-color: #14a800;
    box-shadow: 0 0 0 2px rgba(20, 168, 0, 0.1);
}

.form-label-custom {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-check-input:checked {
    background-color: #14a800;
    border-color: #14a800;
}

.form-check-label a {
    color: #14a800;
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
}

.country-select-wrapper {
    position: relative;
}

.country-select-wrapper:after {
    content: '▼';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
    font-size: 0.8rem;
}

.country-select {
    appearance: none;
    padding-right: 35px;
}

.step-indicator {
    display: none;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    gap: 8px;
}

.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
}

.step-dot.active {
    background-color: #14a800;
}

.back-button {
    background: none;
    border: none;
    color: #666;
    padding: 0;
    margin-bottom: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.back-button:hover {
    color: #333;
}

#step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

#client-actions,
#freelancer-actions {
    width: 100%;
}

.hidden {
    display: none;
}

.social-login-buttons {
    margin-bottom: 1.5rem;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    height: 44px;
}

.btn-social:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-social.apple {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

.btn-social.apple:hover {
    background-color: #333;
    border-color: #333;
    color: #fff;
}

.btn-social.apple i {
    font-size: 1.2rem;
}

.btn-social.google {
    background-color: #fff;
    color: #3c4043;
    border-color: #dadce0;
}

.btn-social.google:hover {
    background-color: #f8f9fa;
    border-color: #dadce0;
}

.btn-social svg {
    flex-shrink: 0;
}

.btn-social i, .btn-social svg {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .social-login-buttons .col-md-6 {
        margin-bottom: 0.75rem;
    }

    .btn-social {
        height: 48px;
        font-size: 0.9rem;
    }
}

/* Login Page Specific Styles */
.login-container {
    max-width: 400px;
    margin: 0 auto;
}

.login-card {
    width: 100%;
    max-width: 400px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.step-1, .step-2 {
    transition: all 0.3s ease;
}

.email-display {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.email-display span {
    font-weight: 500;
    color: #333;
}

.email-display a {
    color: #14a800;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.email-display a:hover {
    text-decoration: underline;
}

.back-link {
    color: #666;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 500;
}

.back-link:hover {
    color: #333;
    text-decoration: underline;
}

.password-input-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px;
    z-index: 10;
}

.password-toggle:hover {
    color: #333;
}

@media (max-width: 576px) {
    .login-container {
        padding: 0 15px;
    }

    .login-card {
        border: none;
        box-shadow: none;
        padding: 1rem !important;
    }

    .upwork-logo {
        margin-bottom: 2rem !important;
    }
}
