/* ZVINE AUTH THEME - CLEAN PRO (v10.0) */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

:root { 
    --zam-primary: #FF6B6B;       /* Coral Red */
    --zam-primary-hover: #EE5253;
    --zam-secondary: #4ECDC4;     /* Teal */
    --zam-bg: #FFFFFF;            /* White Background */
    --zam-card-bg: #FFFFFF;
    --zam-text: #2D3436;
    --zam-gray: #dfe6e9;
    --zam-radius: 16px;
    --zam-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* --- Layout --- */
.zam-auth-wrap {
    display: flex; justify-content: center; align-items: center;
    padding: 60px 20px; font-family: 'Quicksand', sans-serif;
    background: var(--zam-bg); min-height: 70vh;
}

.zam-card {
    background: var(--zam-card-bg); width: 100%; max-width: 480px;
    padding: 40px; border-radius: var(--zam-radius);
    box-shadow: var(--zam-shadow); border: 1px solid #f1f1f1;
    position: relative; overflow: hidden;
}

/* Top Accent */
.zam-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px;
    background: linear-gradient(90deg, var(--zam-primary), var(--zam-secondary));
}

.zam-card h2 {
    text-align: center; margin-bottom: 25px; color: var(--zam-text);
    font-weight: 700; font-size: 1.8rem;
}

/* --- Form Elements --- */
.zam-form label {
    display: block; font-weight: 700; margin-bottom: 8px;
    color: var(--zam-text); font-size: 0.9rem; margin-top: 15px;
}

.zam-form-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f9f9f9;
}

.zam-form input[type="text"],
.zam-form input[type="password"],
.zam-form input[type="email"],
.zam-form input[type="date"],
.zam-form input[type="file"],
.zam-form textarea,
.zam-form select {
    width: 100%; padding: 12px 16px;
    border: 2px solid var(--zam-gray);
    border-radius: 12px; box-sizing: border-box;
    transition: all 0.2s ease; font-size: 1rem;
    color: var(--zam-text); background: #fff;
    font-family: inherit;
}
.zam-form input[type="file"] { background: #f8f9fa; line-height: 1.2; }

.zam-form input:focus, .zam-form textarea:focus, .zam-form select:focus {
    border-color: var(--zam-primary); outline: none;
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1);
}

/* --- New Custom File Upload Styling --- */
.zam-file-upload {
    position: relative; overflow: hidden;
    margin-bottom: 20px; text-align: center;
}
.zam-file-upload.compact .zam-file-label { padding: 15px; border-width: 1px; }

.zam-file-upload input[type="file"] {
    position: absolute; width: 100%; height: 100%;
    top: 0; left: 0; opacity: 0; cursor: pointer;
}
.zam-file-label {
    display: block; padding: 20px;
    border: 2px dashed var(--zam-secondary);
    border-radius: 12px; background: #f0fdfc;
    color: #00695c; font-weight: 600; cursor: pointer;
    transition: all 0.2s;
}
.zam-file-label:hover { background: #e0f2f1; border-color: #26a69a; }
.zam-file-label span { display: block; font-size: 0.9rem; margin-top: 5px; }
.zam-file-icon { font-size: 24px; display: block; margin-bottom: 5px; }

/* --- Buttons --- */
.zam-btn {
    background: var(--zam-primary); color: white; border: none;
    padding: 15px; border-radius: 12px; font-size: 1rem;
    font-weight: 700; cursor: pointer; transition: all 0.2s;
    width: 100%; margin-top: 20px;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}
.zam-btn:hover { background: var(--zam-primary-hover); transform: translateY(-2px); }

/* --- Profile Page --- */
.zam-profile-container {
    display: grid; grid-template-columns: 1fr 2fr; gap: 30px;
    max-width: 900px; width: 100%;
}
@media (max-width: 768px) { .zam-profile-container { grid-template-columns: 1fr; } }

.zam-profile-sidebar {
    background: white; border-radius: var(--zam-radius);
    padding: 30px; text-align: center;
    box-shadow: var(--zam-shadow); border: 1px solid #eee;
}
.zam-profile-img {
    width: 120px; height: 120px; border-radius: 50%;
    object-fit: cover; border: 4px solid var(--zam-secondary);
    margin-bottom: 15px;
}
.zam-profile-content {
    background: white; border-radius: var(--zam-radius);
    padding: 40px; box-shadow: var(--zam-shadow); border: 1px solid #eee;
}

/* Alerts */
.zam-alert { background: #ffebee; color: #c62828; padding: 15px; border-radius: 8px; text-align: center; margin-bottom: 15px; font-weight: 600; }
.zam-msg.success { background: #e0f2f1; color: #00695c; padding: 15px; border-radius: 8px; text-align: center; margin-bottom: 15px; font-weight: 600; }
.zam-msg.info { background: #e3f2fd; color: #0d47a1; padding: 15px; border-radius: 8px; text-align: center; margin-bottom: 15px; font-weight: 600; }

/* Admin Backend Overrides */
.zam-admin-edit-table input, .zam-admin-edit-table textarea, .zam-admin-edit-table select {
    width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 4px;
}
.zam-dashboard-widget a { text-decoration: none; }

/* Role Manager UI */
.zam-admin-box { background: #f9f9f9; padding: 15px; border: 1px solid #eee; border-radius: 4px; }