:root {
    --primary-color: #4361ee;
    --secondary-color: #3a0ca3;
    --accent-color: #4895ef;
    --danger-color: #f72585;
    --success-color: #4cc9f0;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --card-bg: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: var(--dark-color);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    margin-bottom: 30px;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
}

.logo i {
    font-size: 2rem;
}

.logo h1 {
    font-size: 2rem;
    margin: 0;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.search-container {
    margin: 20px 0;
}

.search-box {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 8px 15px;
    box-shadow: var(--shadow);
}

.search-box i {
    color: var(--primary-color);
    margin-right: 10px;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px;
    font-size: 1rem;
}

.search-btn {
    margin-left: 10px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--secondary-color);
}

footer {
    text-align: center;
    margin-top: auto;
    padding: 20px 0;
    color: var(--dark-color);
    font-size: 0.9rem;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 0.95rem;
}

.login-btn {
    background: var(--primary-color);
    color: white;
}

.login-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.logout-btn {
    background: var(--danger-color);
    color: white;
}

.logout-btn:hover {
    background: #d31666;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(247, 37, 133, 0.3);
}

.back-btn {
    background: #6c757d;
    color: white;
}

.back-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Auth Box Styles */
.auth-box {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
}

.auth-header {
    margin-bottom: 25px;
}

.auth-header h2 {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.welcome-text {
    margin-bottom: 30px;
}

.welcome-text h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.welcome-text p {
    color: #6c757d;
}

.auth-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
}

.input-group input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.message {
    padding: 10px;
    margin: 15px 0;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.message.error {
    background: #ffebee;
    color: #d32f2f;
    border: 1px solid #ef9a9a;
    display: block;
}

.message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    display: block;
}

.auth-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

/* Dashboard Styles */
.toolkit-container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.toolkit-container h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.category:last-child {
    border-bottom: none;
}

.category h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.resource-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-color);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-right: 10px;
    margin-bottom: 10px;
}

.resource-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.resource-btn i {
    font-size: 0.8rem;
}

.contact-section {
    margin-top: 40px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.contact-section p {
    margin-bottom: 15px;
    color: #6c757d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
    }
    
    .auth-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .resource-btn {
        display: flex;
        width: 100%;
        margin-right: 0;
    }
    
    .search-box {
        flex-direction: column;
        align-items: stretch;
        border-radius: 15px;
    }
    
    .search-box input {
        margin: 10px 0;
    }
    
    .search-btn {
        margin-left: 0;
        width: 100%;
    }
    }
