* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.register-container {
    display: flex;
    width: 900px;
    /* height: 600px; */
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Left Panel */
.left-panel {
    flex: 1;
    background: linear-gradient(135deg, #2c3e50 0%, #1a2530 100%);
    color: white;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.logo {
    display: flex;
    align-items: center;
    height: 30%;
}

.logo-icon {
    font-size: 32px;
    color: #4a9eff;
    margin-right: 15px;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

.tagline {
    font-size: 18px;
    color: #a0b3c6;
    margin-top: 5px;
    margin-left: 48px;
}

.welcome-text {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
}

.benefits {
    margin-top: 40px;
    list-style: none;
}

.benefits li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #c2d0dd;
}

.benefits i {
    color: #4a9eff;
    margin-right: 10px;
    font-size: 14px;
}

/* Right Panel - Registration Form */
.right-panel {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.register-form {
    width: 100%;
}

.form-title {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.form-subtitle {
    color: #7b8a9b;
    font-size: 16px;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

.input-label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 14px;
}

.input-field {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e1e8f0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
    background-color: #f8fafc;
}

.input-field:focus {
    outline: none;
    border-color: #4a9eff;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.1);
}

.input-icon {
    position: absolute;
    right: 20px;
    top: 42px;
    color: #7b8a9b;
}

.password-requirements {
    background-color: #f0f7ff;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 13px;
    color: #4a5568;
    border-left: 4px solid #4a9eff;
}

.password-requirements ul {
    list-style: none;
    padding-left: 0;
}

.password-requirements li {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.password-requirements i {
    margin-right: 8px;
    font-size: 12px;
}

.password-requirements .valid {
    color: #38a169;
}

.password-requirements .invalid {
    color: #e53e3e;
}

.register-button {
    width: 100%;
    padding: 18px;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

.register-button:hover {
    background-color: #1a2530;
    transform: translateY(-2px);
}

.register-button:active {
    transform: translateY(0);
}

.register-button:disabled {
    background-color: #a0aec0;
    cursor: not-allowed;
    transform: none;
}

.login-link {
    text-align: center;
    margin-top: 25px;
    color: #7b8a9b;
    font-size: 15px;
}

.login-link a {
    color: #4a9eff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.login-link a:hover {
    color: #2c3e50;
    text-decoration: underline;
}

/* Messages */
.message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
}

.message.show {
    display: block;
}

.error-message {
    background-color: #fff5f5;
    border: 1px solid #fed7d7;
    color: #c53030;
}

.success-message {
    background-color: #f0fff4;
    border: 1px solid #c6f6d5;
    color: #276749;
}

/* Responsive Design */
@media (max-width: 900px) {
    .register-container {
        flex-direction: column;
        height: auto;
        width: 100%;
        max-width: 500px;
    }

    .left-panel {
        padding: 40px 30px;

        display: none;
    }

    .right-panel {
        padding: 40px 30px;
    }

    .welcome-text {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .register-container {
        border-radius: 10px;
    }

    .left-panel, .right-panel {
        padding: 30px 20px;
    }

    .logo-text {
        font-size: 24px;
    }

    .tagline {
        font-size: 16px;
    }

    .form-title {
        font-size: 24px;
    }
}