﻿

.register-container {
    text-align: justify;
    width: 40%;
    max-width: 1000px;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.register-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    /*box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);*/
}

.register-header {
    /*background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);*/
    background: linear-gradient(135deg, #e9e9e9 0%, #757575 100%);
    padding: 20px;
    text-align: center;
    position: relative;
}

    .register-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
        background-size: cover;
        opacity: 0.5;
    }

.register-icon {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: none;
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    
}

    .register-icon i {
        font-size: 3rem;
        color: var(--primary-color);
    }

.register-header h5 {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 10px;
    position: relative;
    font-weight: 600;
}

.register-header p {
    color: var(--primary-color);
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    font-weight: 600;
}

.register-body {
    padding: 50px;
}

.form-section {
    margin-bottom: 35px;
}

.section-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .section-title i {
        color: var(--accent-color);
        font-size: 1.5rem;
    }

.form-label {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 30px 30px;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    margin-bottom: 25px;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--accent-color);
        box-shadow: 0 0 0 0.2rem rgba(247, 164, 0, 0.15);
    }

.input-icon {
    position: relative;
}

    .input-icon i {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--accent-color);
        font-size: 1.1rem;
    }

    .input-icon .form-control {
        padding-left: 50px;
    }

.password-toggle {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    transition: color 0.3s ease;
}

    .password-toggle:hover {
        color: var(--accent-color);
    }

.user-type-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.user-type-card {
    border: 3px solid #e9ecef;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

    .user-type-card:hover {
        border-color: var(--accent-color);
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .user-type-card input[type="radio"] {
        position: absolute;
        opacity: 0;
    }

        .user-type-card input[type="radio"]:checked + label {
            color: var(--primary-color);
        }

        .user-type-card input[type="radio"]:checked ~ .user-type-icon {
            background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
            color: var(--primary-color);
        }

    .user-type-card.active {
        border-color: var(--accent-color);
        background: #fffef8;
    }

.user-type-icon {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

    .user-type-icon i {
        font-size: 2rem;
        color: var(--primary-color);
    }

.user-type-label {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.user-type-desc {
    color: #6c757d;
    font-size: 0.9rem;
}

.btn-login {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a1d7e 100%);
    color: white;
    border: none;
    padding: 18px 50px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    width: 100%;
    transition: all 0.3s ease;
    margin:auto;
    /*margin-top: 20px;*/
}

    .btn-login:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 12px rgba(20, 23, 108, 0.3);
    }

.login-link {
    text-align: center;
    margin-top: 25px;
    color: #6c757d;
    font-size: 1rem;
}

    .login-link a {
        color: var(--primary-color);
        font-weight: 700;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .login-link a:hover {
            color: var(--accent-color);
        }

.terms-checkbox {
    margin-top: 10px;
    margin-bottom: 35px;
    text-align: justify;
}

.form-check-input {
    position: unset !important;
    margin-top: unset !important;
    margin-left: unset !important;
}


.form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.form-check-label {
    color: #6c757d;
}

    .form-check-label a {
        color: var(--primary-color);
        font-weight: 600;
        text-decoration: none;
    }

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
}

    .divider::before,
    .divider::after {
        content: '';
        flex: 1;
        border-bottom: 2px solid #e9ecef;
    }

    .divider span {
        padding: 0 20px;
        color: #6c757d;
        font-weight: 600;
    }

.social-login {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-social {
    flex: 1;
    padding: 14px;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    background: white;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .btn-social:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

.btn-google {
    border-color: #db4437;
    color: #db4437;
}

    .btn-google:hover {
        background: #db4437;
        color: white;
    }

.btn-linkedin {
    border-color: #0077b5;
    color: #0077b5;
}

    .btn-linkedin:hover {
        background: #0077b5;
        color: white;
    }


@media screen and (max-width: 960px) {
    .register-container {
        width: 70%;
    }
}
@media screen and (max-width: 740px) {
    .register-container {
        width: 99%;
    }
}

.spinner-border {
    color: var(--accent-color);
}

#resendBtn {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 18px 50px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    width: 100%;
    transition: all 0.3s ease;
    margin: auto;
}