:root {
    --primary: #6C63FF;
    --primary-dark: #554FD8;
    --secondary: #FF6584;
    --success: #36D399;
    --warning: #FFB347;
    --danger: #FF6B6B;
    --dark: #1A1A2E;
    --light: #F8F9FF;
    --gradient: linear-gradient(135deg, #6C63FF 0%, #FF6584 100%);
    --shadow: 0 20px 40px rgba(108, 99, 255, 0.15);
    --shadow-lg: 0 30px 60px rgba(108, 99, 255, 0.25);
    --radius: 20px;
    --transition: all 0.4s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--light) 0%, rgba(108, 99, 255, 0.1) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.creater-wrapper {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.register-container {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.register-header {
    text-align: center;
    padding: 40px 30px 30px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.05), rgba(255, 101, 132, 0.05));
}

.register-header .logo {
    font-size: 2.2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    font-weight: 900;
}

.register-header h2 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.register-header p {
    color: #666;
    font-size: 0.95rem;
}

.register-body {
    padding: 40px;
}

.form-control {
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.2);
}

.input-group-text {
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 12px 0 0 12px;
    padding: 0 20px;
    font-size: 1rem;
}

.btn-register {
    background: var(--gradient);
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
    width: 100%;
    color: white;
    margin-top: 10px;
}

.btn-register:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.login-link {
    text-align: center;
    margin-top: 25px;
}

.login-link a {
    color: var(--primary);
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Verification section styling */
.verification-section {
    background: rgba(108, 99, 255, 0.05);
    border-radius: var(--radius);
    padding: 25px;
    margin-top: 20px;
    border: 2px dashed rgba(108, 99, 255, 0.2);
}

.verification-section h5 {
    color: var(--primary);
    margin-bottom: 15px;
}

.verification-code {
    font-family: monospace;
    font-size: 1.8rem;
    letter-spacing: 5px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--primary);
    margin: 20px 0;
    font-weight: bold;
    color: var(--dark);
}

.verification-message {
    background: rgba(54, 211, 153, 0.1);
    border-left: 4px solid var(--success);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 10px;
}

.status-pending {
    background: rgba(255, 179, 71, 0.1);
    color: var(--warning);
}

.status-valid {
    background: rgba(54, 211, 153, 0.1);
    color: var(--success);
}

.status-invalid {
    background: rgba(255, 107, 107, 0.1);
    color: var(--danger);
}

/* Custom modal styling */
.verification-modal .modal-content {
    border-radius: var(--radius);
    border: none;
    box-shadow: var(--shadow-lg);
}

.verification-modal .modal-header {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.05), rgba(255, 101, 132, 0.05));
    border-bottom: none;
    border-radius: var(--radius) var(--radius) 0 0;
}

/* Success animation */
@keyframes successPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.success-pulse {
    animation: successPulse 0.5s ease-in-out 3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .register-container {
        margin: 20px;
    }

    .register-header {
        padding: 30px 20px 25px;
    }

    .register-header .logo {
        font-size: 2rem;
    }

    .register-header h2 {
        font-size: 1.6rem;
    }

    .register-body {
        padding: 30px 25px;
    }

    .verification-code {
        font-size: 1.5rem;
        letter-spacing: 3px;
    }
}

@media (max-width: 576px) {
    body {
        padding: 10px;
    }

    .register-header .logo {
        font-size: 1.8rem;
    }

    .register-header h2 {
        font-size: 1.4rem;
    }

    .register-body {
        padding: 25px 20px;
    }

    .form-control {
        padding: 12px 15px;
        font-size: 1rem;
    }

    .btn-register {
        padding: 15px;
        font-size: 1.1rem;
    }
}