/* Send Your Prayers - Admin Styles */

/* Dashboard Stats */
.syprayer-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.syprayer-stat-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e0e6ed;
    text-align: center;
}

.syprayer-stat-card h3 {
    margin-top: 0;
    color: #7f8c8d;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.syprayer-stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
}

/* Recent Submissions */
.syprayer-recent-submissions {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e0e6ed;
    margin-top: 30px;
}

.syprayer-recent-submissions h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 20px;
}

.syprayer-recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.syprayer-recent-list li {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.syprayer-recent-list li:last-child {
    border-bottom: none;
}

.syprayer-recent-list strong {
    color: #2c3e50;
    font-size: 14px;
}

.syprayer-recent-list .syprayer-amount {
    color: #27ae60;
    font-weight: 600;
    font-size: 14px;
}

/* Filters */
.syprayer-filters {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #e0e6ed;
}

.syprayer-filters form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.syprayer-filters input[type="text"],
.syprayer-filters input[type="email"],
.syprayer-filters input[type="date"],
.syprayer-filters select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.syprayer-filters button {
    padding: 8px 16px;
}

/* Prayer Details */
.syprayer-prayer-details {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e0e6ed;
    margin-top: 20px;
}

.syprayer-back-link {
    margin-bottom: 25px;
}

.syprayer-prayer-detail-card {
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    padding: 25px;
    background: #f8f9fa;
}

.syprayer-detail-row {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    gap: 15px;
}

.syprayer-detail-row:last-child {
    border-bottom: none;
}

.syprayer-detail-row strong {
    min-width: 150px;
    color: #2c3e50;
}

.syprayer-prayer-content {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e0e6ed;
}

.syprayer-prayer-content h3 {
    margin-top: 0;
    color: #2c3e50;
    margin-bottom: 15px;
}

.syprayer-prayer-text {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e6ed;
    line-height: 1.6;
    font-size: 15px;
    white-space: pre-wrap;
}

.syprayer-prayer-stats {
    margin-top: 15px;
    text-align: right;
    color: #7f8c8d;
    font-size: 13px;
}

.syprayer-prayer-actions {
    margin-top: 25px;
    display: flex;
    gap: 10px;
}

/* Settings Tabs */
.syprayer-settings-tabs {
    margin-bottom: 20px;
}

.syprayer-settings-tabs .nav-tab {
    font-size: 14px;
    padding: 10px 20px;
    border: 1px solid #ccc;
    background: #f1f1f1;
    margin-right: 5px;
}

.syprayer-settings-tabs .nav-tab-active {
    background: white;
    border-bottom-color: white;
}

/* Form Elements */
.syprayer-settings-form .form-table th {
    width: 200px;
    padding: 20px 10px 20px 0;
}

.syprayer-settings-form .form-table td {
    padding: 15px 10px;
}

.syprayer-settings-form input[type="text"],
.syprayer-settings-form input[type="password"],
.syprayer-settings-form input[type="number"],
.syprayer-settings-form select,
.syprayer-settings-form textarea {
    width: 100%;
    max-width: 400px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.syprayer-settings-form input[type="checkbox"] {
    margin-top: 0;
}

.syprayer-settings-form .description {
    color: #666;
    font-style: italic;
    margin-top: 5px;
    display: block;
}

/* Color Picker */
.color-picker {
    width: 100px !important;
    height: 30px !important;
}

/* Status Badges */
.syprayer-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.syprayer-status-succeeded {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.syprayer-status-pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.syprayer-status-failed {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Table Styles */
.wp-list-table .syprayer-prayer-excerpt {
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive */
@media (max-width: 782px) {
    .syprayer-dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .syprayer-filters form {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .syprayer-filters input[type="text"],
    .syprayer-filters input[type="email"],
    .syprayer-filters input[type="date"],
    .syprayer-filters select {
        width: 100%;
    }
    
    .syprayer-settings-form .form-table th {
        width: 100%;
        padding: 10px 0;
        display: block;
    }
    
    .syprayer-settings-form .form-table td {
        padding: 5px 0 15px 0;
        display: block;
    }
    
    .syprayer-prayer-actions {
        flex-direction: column;
    }
}