/* Synchrotask Register Page Styles - Matching Login Page Design */
.synchrotask-register-wrapper {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 40px 20px;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.synchrotask-register-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    box-sizing: border-box;
}

.register-main-container {
    width: 100%;
    max-width: 1000px;
    display: flex;
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.1);
    overflow: hidden;
    min-height: 600px;
    box-sizing: border-box;
}

.register-form-section {
    flex: 1.2;
    padding: 50px 40px;
    background: white;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow-y: auto;
}

.register-info-section {
    flex: 0.8;
    background-color:black;
    color: white;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-bottom:345px;
    overflow: hidden;
    box-sizing: border-box;
}

    .register-info-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-size: cover;
    }

/* Register Header */
.register-logo {
    display: flex;
    align-items: center;
    justify-content:space-around;
    margin-bottom: 25px;
    width: 100%;
}
.register-logo img{
    width:50%;
}
.register-logo-icon {
    background-color: blackblack;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-right: 15px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    flex-shrink: 0;
}

.register-logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: black;
    white-space: nowrap;
}

.register-title {
    font-size: 2rem;
    font-weight: 700;
    color: black;
    margin-bottom: 8px;
    width: 100%;
    display: block;
}

.register-subtitle {
    font-size: 1rem;
    color: black;
    margin-bottom: 30px;
    width: 100%;
    display: block;
}

/* Form Container */
form {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Form Elements */
.register-input-group {
    margin-bottom: 18px;
    position: relative;
    width: 100%;
}
    .register-input-group i {
        color: black;
    }
.register-input-label {
    font-weight: 600;
    color: black;
    margin-bottom: 6px;
    display: block;
    font-size: 0.9rem;
    width: 100%;
}

.register-input {
    width: 100%;
    padding: 13px 15px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    font-size: 15px;
    background-color: #f8fafc;
    color: black;
    box-sizing: border-box;
}

    .register-input:focus {
        border-color: #2563eb;
        outline: none;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        background-color: white;
    }

    .register-input::placeholder {
        color: #a0aec0;
    }

/* File Input Specific Styling */
input[type="file"].register-input {
    padding: 11px 15px;
    background-color: white;
    cursor: pointer;
    width: 100%;
}

    input[type="file"].register-input::-webkit-file-upload-button {
        background-color: #3498db;
        color: white;
        border: none;
        padding: 8px 16px;
        border-radius: 6px;
        margin-right: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        input[type="file"].register-input::-webkit-file-upload-button:hover {
            background: black;
        }

/* Password Requirements */
.password-requirements {
    background-color: #f1f5f9;
    border-radius: 8px;
    padding: 15px;
    margin-top: 5px;
    margin-bottom: 15px;
    border-left: 4px solid #2563eb;
    width: 100%;
    box-sizing: border-box;
}

    .password-requirements h6 {
        color: #1a365d;
        font-size: 0.9rem;
        margin-bottom: 8px;
        font-weight: 600;
    }

    .password-requirements ul {
        list-style: none;
        padding-left: 0;
        margin-bottom: 0;
    }

    .password-requirements li {
        font-size: 0.85rem;
        color: #4a5568;
        margin-bottom: 4px;
        display: flex;
        align-items: center;
    }

        .password-requirements li:before {
            content: "✓";
            color: #10b981;
            font-weight: bold;
            margin-right: 8px;
            font-size: 0.9rem;
        }

/* Register Button */
.register-btn {
    width: 100%;
    padding: 15px;
    border: solid 1px;
    background-color: white;
    color: black;
    font-size: 16px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

    .register-btn:hover {
        border-color:black;
        background-color: #3498db;
        color: white;
        transform: translateY(-2px);
    }

    .register-btn:active {
        transform: translateY(0);
    }

/* Extra Links */
.register-extra-links {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: black;
    width: 100%;
}

    .register-extra-links p {
        margin-bottom: 5px;
    }

.register-login-link {
    color: black;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .register-login-link:hover {
        color: #1d4ed8;
        text-decoration: underline;
    }

/* Info Section Content */
.register-info-highlight {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    width: 100%;
}

    .register-info-highlight h3 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        color: white;
    }

    .register-info-highlight p {
        font-size: 1rem;
        line-height: 1.5;
        opacity: 0.9;
    }

.register-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
    width: 100%;
}

    .register-info-list li {
        margin-bottom: 20px;
        display: flex;
        align-items: flex-start;
        width: 100%;
    }

    .register-info-list .icon {
        background: rgba(255, 255, 255, 0.2);
        width: 36px;
        height: 36px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 15px;
        flex-shrink: 0;
    }

    .register-info-list .text {
        flex: 1;
    }

        .register-info-list .text h4 {
            font-size: 1.1rem;
            margin-bottom: 5px;
            color: white;
        }

        .register-info-list .text p {
            font-size: 0.9rem;
            opacity: 0.8;
            margin: 0;
        }

/* Form Grid for Better Layout */
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    width: 100%;
}

    .form-row .register-input-group {
        flex: 1;
        margin-bottom: 0;
        min-width: 0; /* Prevent overflow */
    }

/* Validation Styles */
.text-danger {
    color: #ef4444 !important;
    font-size: 0.85rem;
    margin-top: 4px;
    display: block;
}

.register-input.is-invalid {
    border-color: #ef4444;
}

    .register-input.is-invalid:focus {
        box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
    }

/* Responsive Design */
@media (max-width: 992px) {
    .register-main-container {
        flex-direction: column;
        max-width: 700px;
        min-height: auto;
    }

    .synchrotask-register-wrapper {
        padding: 20px;
    }

    .register-form-section, .register-info-section {
        width: 100%;
        padding: 40px 30px;
    }

    .register-info-section {
        padding: 40px 30px;
    }

    .register-form-section {
        overflow-y: visible;
        max-height: none;
    }

    .form-row {
        flex-direction: column;
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .synchrotask-register-container {
        padding: 0;
    }

    .register-main-container {
        border-radius: 15px;
    }

    .register-form-section, .register-info-section {
        padding: 30px 25px;
    }
}

@media (max-width: 576px) {
    .synchrotask-register-wrapper {
        padding: 15px;
        min-height: calc(100vh - 60px);
        align-items: flex-start;
    }

    .register-main-container {
        border-radius: 12px;
        box-shadow: 0 15px 30px rgba(37, 99, 235, 0.1);
    }

    .register-form-section, .register-info-section {
        padding: 25px 20px;
    }

    .register-title {
        font-size: 1.6rem;
    }

    .register-logo-text {
        font-size: 1.4rem;
    }

    .register-logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }

    .register-subtitle {
        font-size: 0.9rem;
    }

    .register-info-highlight h3 {
        font-size: 1.3rem;
    }

    .register-info-list .icon {
        width: 32px;
        height: 32px;
        margin-right: 12px;
    }

    .register-info-list .text h4 {
        font-size: 1.1rem;
    }

    .register-info-list .text p {
        font-size: 0.8rem;
    }
}

/* Scrollbar Styling for Form Section */
.register-form-section::-webkit-scrollbar {
    width: 6px;
}

.register-form-section::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.register-form-section::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 10px;
}

    .register-form-section::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.register-form-section {
    animation: fadeInUp 0.6s ease-out;
}

.register-info-section {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Ensure all elements display properly */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

/* Fix for form validation summary */
.text-danger.mb-3 {
    margin-bottom: 1rem !important;
    width: 100%;
}
