:root {
    --primary: rgb(94, 0, 189);
    --grad-first: #3a0275;
    --grad-second: #8c46ff;
    --grad-third: #5903bb;
    --primary-hover: #361352;
    --secondary: ;
    --success: #459748;
    --error: #ef4444;
    --info: #6366f1;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #94a3b8;
    --border: #e2e8f0;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f9fafb 0%, #f0e6ff 100%);
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    max-width: 500px;
    width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(93, 0, 189, 0.1);
    overflow: hidden;
    animation: fadeIn 0.5s ease-out;
}

.header {
    position: relative;
    padding: 30px;
    text-align: center;
    color: white;
    overflow: hidden;
}



.header .brand {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.brand img {
    min-width: 200px;
    width: 50%;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

.content {
    padding: 35px;
}

.content h2 {
    color: var(--grad-first);
    margin-bottom: 20px;
}

/* Message Styles */
.messages {
    margin-bottom: 25px;
}

.message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 14px;
    transition: opacity 0.3s, transform 0.3s;
}

.message.success {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--success);
    border-left: 4px solid var(--success);
}

.message.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border-left: 4px solid var(--error);
}

.message.info {
    background-color: rgba(141, 68, 255, 0.1);
    color: var(--grad-first);
    border-left: 4px solid var(--grad-first);
}

.message i {
    margin-right: 10px;
    font-size: 16px;
    flex-shrink: 0;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
    font-size: 15px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    color: var(--dark);
}

.form-control::placeholder {
    color: var(--gray);
}

.form-control:focus {
    outline: none;
    border-color: var(--grad-first);
    box-shadow: 0 0 0 3px rgba(93, 0, 189, 0.15);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--grad-first);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn:hover {
    background-color: var(--primary-hover);
}

.submit-btn i {
    margin-right: 10px;
}

.footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: var(--gray);
}

.footer a {
    color: var(--grad-first);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.info-box {
    background-color: rgba(141, 68, 255, 0.08);
    border-left: 4px solid var(--grad-first);
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 25px;
    font-size: 14px;
}

.info-box h3 {
    font-size: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    color: var(--grad-first);
}

.info-box h3 i {
    margin-right: 8px;
}

.info-box p {
    margin-bottom: 8px;
}

.info-box ul {
    padding-left: 20px;
    margin-top: 8px;
}

.info-box li {
    margin-bottom: 4px;
}

.secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    font-size: 13px;
    color: var(--gray);
}

.secure-note i {
    margin-right: 5px;
    color: var(--success);
}

@media (max-width: 480px) {
    .container {
        border-radius: 0;
    }
    
    .content {
        padding: 25px 20px;
    }
    
    .header {
        padding: 25px 20px;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}