/* User Pages Styles */
* {
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.page-wrapper {
    padding: 60px 0;
}

.main-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    background: white;
}

.card-header-custom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.card-header-custom h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.card-header-custom .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.form-section {
    padding: 2.5rem;
}

.form-label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.form-label i {
    margin-right: 10px;
    color: #667eea;
    font-size: 1.1rem;
}

.form-control,
.form-select {
    border-radius: 12px;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus,
.form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: white;
    outline: none;
}

.form-control:hover,
.form-select:hover {
    border-color: #a0aec0;
}

.form-text {
    color: #718096;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%);
}

.btn-submit:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.info-box {
    background: #f7fafc;
    border-left: 4px solid #667eea;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.info-box h5 {
    color: #1a202c;
    font-weight: 600;
    margin-bottom: 1rem;
}

.info-box ul {
    margin: 0;
    padding-left: 1.5rem;
}

.info-box li {
    color: #4a5568;
    margin: 0.5rem 0;
}

/* Info Card Styles */
.info-card {
    margin-top: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    background: white;
}

.info-card-header {
    background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
    color: white;
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card-header i {
    font-size: 1.3rem;
}

.info-card-body {
    padding: 1.5rem;
}

.instruction-list {
    margin: 0;
    padding-left: 1.5rem;
    counter-reset: item;
}

.instruction-list li {
    color: #2d3748;
    margin: 0.75rem 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.alert-custom {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #f59e0b;
    padding: 1rem 1.2rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    display: flex;
    gap: 12px;
    align-items: start;
}

.alert-custom i {
    color: #d97706;
    font-size: 1.2rem;
    margin-top: 2px;
}

.alert-custom strong {
    color: #92400e;
}

/* Divider */
.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e2e8f0, transparent);
    margin: 2rem 0;
}

/* Quick Links */
.quick-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.quick-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.quick-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    border-color: #667eea;
}

.quick-link i {
    font-size: 1rem;
}

.footer-links {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #e2e8f0;
}

.footer-links a {
    color: #667eea;
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Footer Styling */
footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
}

footer p {
    margin: 0;
    opacity: 0.95;
    font-weight: 500;
}

/* Mailbox Styles */
.email-list {
    max-height: 600px;
    overflow-y: auto;
}

.email-item {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.email-item:hover {
    background: #f7fafc;
}

.email-item.unread {
    background: #f0f9ff;
    border-left: 4px solid #667eea;
}

.email-from {
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.email-subject {
    color: #2d3748;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.email-preview {
    color: #718096;
    font-size: 0.9rem;
}

.email-time {
    color: #a0aec0;
    font-size: 0.85rem;
}

/* Shared Accounts Styles */
.account-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.account-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.account-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
}

.account-header h5 {
    margin: 0;
    font-weight: 600;
}

.account-body {
    padding: 1.5rem;
}

.account-info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.account-info i {
    width: 30px;
    color: #667eea;
}

.account-info strong {
    color: #2d3748;
    margin-right: 0.5rem;
}

.account-footer {
    padding: 1rem 1.5rem;
    background: #f7fafc;
    border-top: 1px solid #e2e8f0;
}

.btn-access {
    width: 100%;
    padding: 10px;
    font-weight: 600;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-access:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.expired-badge {
    background: #fee2e2;
    color: #dc2626;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
}

.active-badge {
    background: #d1fae5;
    color: #065f46;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
}
