/**
 * Public Styles for AAOIFI Consultation Manager
 */

.consultation-list {
    display: grid;
    gap: 25px;
    margin: 30px 0;
}

.consultation-item {
    background: white;
    border: 2px solid #e8f5f3;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.consultation-item:hover {
    border-color: #004D40;
    box-shadow: 0 8px 20px rgba(0, 77, 64, 0.1);
    transform: translateY(-3px);
}

.consultation-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.consultation-header h3 {
    margin: 0;
    font-size: 1.35rem;
    color: #004D40;
}

.consultation-header h3 a {
    color: #004D40;
    text-decoration: none;
}

.consultation-header h3 a:hover {
    color: #00695C;
}

.ref-number {
    padding: 6px 14px;
    background: #fff3cd;
    color: #856404;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: monospace;
}

.consultation-types {
    margin-bottom: 15px;
}

.type-badge {
    display: inline-block;
    padding: 6px 14px;
    background: #e8f5f3;
    color: #004D40;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 8px;
}

.consultation-excerpt {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.consultation-deadline {
    padding: 12px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
    margin-bottom: 15px;
}

.consultation-actions {
    display: flex;
    gap: 12px;
}

.btn-view {
    display: inline-block;
    padding: 10px 24px;
    background: #004D40;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-view:hover {
    background: #00695C;
    color: white;
}

.consultation-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    color: #004D40;
}

.stat-label {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.consultation-feedback-form {
    max-width: 600px;
    margin: 30px 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    background: #004D40;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: #00695C;
}

.feedback-closed {
    background: #f8d7da;
    padding: 15px;
    border-radius: 4px;
    color: #721c24;
}

#feedback-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: 4px;
}

#feedback-message.success {
    background: #d4edda;
    color: #155724;
}

#feedback-message.error {
    background: #f8d7da;
    color: #721c24;
}

.consultation-subscribe-form {
    max-width: 500px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
}

.consultation-subscribe-form h3 {
    margin-top: 0;
    color: #004D40;
}

.btn-subscribe {
    background: #004D40;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-subscribe:hover {
    background: #00695C;
}

#subscribe-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: 4px;
}

#subscribe-message.success {
    background: #d4edda;
    color: #155724;
}

#subscribe-message.error {
    background: #f8d7da;
    color: #721c24;
}
