/* Modern Form & Recovery Pages Styles */
/* Based on change_email.php and consistent with modern_ucp.css */

/* Main Card Container */
.ucp-recovery-card {
    background: linear-gradient(145deg, rgba(20,20,20,0.95) 0%, rgba(30,30,35,0.95) 100%);
    border: none;
    border-radius: 12px;
    padding: 30px;
    max-width: 640px;
    margin: 20px auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}

/* Icon Styling */
.ucp-recovery-icon {
    width: 70px; height: 70px;
    background: rgba(20, 10, 5, 0.6);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
    color: #d4a04d;
    font-size: 28px;
    border: 1px solid rgba(212, 160, 77, 0.3);
    box-shadow: 0 0 25px rgba(212, 160, 77, 0.15);
}

/* Typography */
.ucp-recovery-title {
    font-size: 20px;
    font-weight: 700;
    color: #f1b75e;
    margin: 0 0 10px;
    letter-spacing: 0.5px;
    text-align: center;
    text-transform: uppercase;
}

.ucp-recovery-desc {
    color: #c9a584;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 30px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* Note Box */
.ucp-note {
    background: rgba(40, 25, 15, 0.4);
    border: 1px solid rgba(123, 90, 42, 0.3);
    border-left: 3px solid #d4a04d;
    padding: 15px 20px;
    border-radius: 6px;
    color: #e4af7d;
    font-size: 13px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
}
.ucp-note i { color: #f1b75e; font-size: 16px; }

/* Buttons (Matching change_email.php style) */
.ucp-btn-glow {
    width: 100%;
    max-width: 300px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    cursor: pointer;
    
    /* Gradient from change_email */
    background: linear-gradient(180deg, rgba(40, 25, 15, 0.95) 0%, rgba(20, 10, 5, 1) 100%);
    border: 1px solid #7b5a2a;
    border-bottom: 2px solid #5a3d1c;
    border-radius: 6px;
    
    color: #e4af7d;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
    outline: none;
}

.ucp-btn-glow:hover {
    background: linear-gradient(180deg, rgba(60, 40, 25, 1) 0%, rgba(30, 15, 8, 1) 100%);
    border-color: #f1b75e;
    color: #fff;
    box-shadow: 0 0 20px rgba(241, 183, 94, 0.3);
    transform: translateY(-2px);
}

.ucp-btn-glow i {
    margin-left: 10px;
}

/* Generic Form Inputs - if needed */
.ucp-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #4a3b2a;
    color: #c9a584;
    padding: 12px 15px;
    border-radius: 4px;
    outline: none;
    transition: all 0.3s;
    font-family: inherit;
    margin-bottom: 15px;
}
.ucp-input:focus {
    border-color: #f1b75e;
    color: #fff;
    box-shadow: 0 0 10px rgba(241, 183, 94, 0.1);
}

/* --- Download Page Styles (List View) --- */

.download-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px 0;
}

.download-row {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(20,20,20,0.4) 0%, rgba(35,35,40,0.4) 100%);
    border: 1px solid rgba(123, 90, 42, 0.2);
    border-radius: 8px;
    padding: 12px 20px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.download-row:hover {
    border-color: rgba(241, 183, 94, 0.5);
    background: linear-gradient(90deg, rgba(35,25,15,0.6) 0%, rgba(45,35,20,0.6) 100%);
    transform: translateX(5px);
}

.download-row-icon {
    width: 42px; height: 42px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #f1b75e;
    font-size: 20px;
    margin-right: 20px;
    border: 1px solid rgba(123, 90, 42, 0.2);
    flex-shrink: 0;
}

.download-row-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.download-row-title {
    color: #e4af7d;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.download-row-meta {
    color: #888;
    font-size: 11px;
    font-style: italic;
}

.download-row-btn {
    padding: 8px 25px;
    background: linear-gradient(180deg, rgba(40, 25, 15, 0.95) 0%, rgba(20, 10, 5, 1) 100%);
    border: 1px solid #7b5a2a;
    border-radius: 4px;
    color: #e4af7d;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s;
}

.download-row-btn:hover {
    color: #fff;
    border-color: #f1b75e;
    box-shadow: 0 0 15px rgba(241, 183, 94, 0.2);
    text-decoration: none;
}

/* Modifiers for transparency */
.ucp-recovery-card.no-bg {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 10px 0 !important;
}

.ucp-recovery-card.no-bg .ucp-recovery-title {
    text-align: left;
    border-bottom: 2px solid rgba(123, 90, 42, 0.3);
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: block;
    width: 100%;
}


/* Requirements Grid */
.req-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 10px 0;
}

.req-card {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(123, 90, 42, 0.2);
    border-left: 3px solid #7b5a2a;
    padding: 20px;
    border-radius: 8px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
}

.req-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(123, 90, 42, 0.2);
}

.req-header i { font-size: 22px; color: #f1b75e; }
.req-header h5 { margin: 0; color: #e4af7d; font-size: 16px; font-weight: 700; text-transform: uppercase; }

.req-list { list-style: none; padding: 0; margin: 0; }
.req-list li {
    padding: 8px 0;
    font-size: 13px;
    color: #ccc;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(255,255,255,0.05);
}
.req-list li:last-child { border-bottom: none; }
.req-list li span:first-child { color: #888; margin-right: 10px; }
.req-list li span:last-child { color: #d4a04d; font-weight: 600; text-align: right; }

/* FAQ Accordion Modern */
.faq-modern { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
    border: 1px solid rgba(123, 90, 42, 0.2);
    border-radius: 6px;
    overflow: hidden;
    background: rgba(0,0,0,0.3);
}
.faq-btn {
    width: 100%;
    text-align: left;
    padding: 16px 20px;
    background: linear-gradient(90deg, rgba(20,20,20,0.6) 0%, rgba(35,35,40,0.6) 100%);
    color: #e4af7d;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    outline: none;
    font-family: inherit;
    font-size: 14px;
}
.faq-btn:hover, .faq-btn.active {
    background: rgba(40, 25, 10, 0.8);
    color: #ffd392;
}
.faq-btn::after {
    content: '\f107'; /* fa-angle-down */
    font-family: FontAwesome;
    font-weight: bold;
    transition: transform 0.3s;
}
.faq-btn.active::after { transform: rotate(180deg); }
.faq-content {
    display: none;
    padding: 20px;
    color: #ccc;
    font-size: 13px;
    line-height: 1.6;
    background: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(123, 90, 42, 0.1);
}
