/* Prayer Counter Plugin Styles */

.hide {
    display: none !important;
}

.praycontainer {
    padding: 0px;
    background: #333;
    width: 100%;
    position: fixed;
    bottom: 0;
    z-index: 999;
}

.prayer-header {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-align: center;
    padding: 8px 0;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.praytit {
    color: #fff;
    text-align: center;
}

.pray,
.thanks,
.today,
.total {
    float: left;
    padding: 5px;
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
}

.forma {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    width: auto;
}

.prayer-stats {
    display: inline-block;
    vertical-align: middle;
    color: #fff;
    margin: 0 0 0 20px;
    padding: 0;
    clear: none;
}

.prayer-stats .today,
.prayer-stats .total,
.prayer-stats .static-text {
    display: inline-block;
    margin: 0 5px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    font-size: 14px;
}

.prayer-stats .static-text {
    background: rgba(255, 255, 255, 0.2);
    font-weight: bold;
    margin-right: 10px;
}

.praycontainer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.praycontainer .btn {
    background-color: #007cba;
    border-color: #007cba;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
}

.praycontainer .btn:hover {
    background-color: #005a87;
    border-color: #004c75;
}

.praycontainer .btn-primary {
    background-color: #007cba;
    border-color: #007cba;
}

.praycontainer .btn-primary:hover {
    background-color: #005a87;
    border-color: #004c75;
}


/* Loading animation for prayer stats */

.prayer-count-loading {
    display: inline-block;
    animation: pulse 1.5s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}


/* Loading dots animation as alternative */

.prayer-loading-dots::after {
    content: '';
    display: inline-block;
    animation: dots 1.5s linear infinite;
}

@keyframes dots {
    0%,
    20% {
        content: '';
    }
    40% {
        content: '.';
    }
    60% {
        content: '..';
    }
    80%,
    100% {
        content: '...';
    }
}


/* Responsive design */

@media (max-width: 768px) {
    .prayer-header {
        font-size: 14px;
        padding: 6px 0;
    }
    .praycontainer .container {
        flex-direction: column;
        align-items: center;
    }
    .forma {
        margin-bottom: 10px;
    }
    .prayer-stats {
        margin: 0;
    }
    .prayer-stats .today,
    .prayer-stats .total {
        display: inline-block;
        margin: 0 5px;
        font-size: 12px;
    }
}


/* Admin Panel Styles */

.prayer-admin-container {
    max-width: 1200px;
    margin: 20px 0;
}

.prayer-admin-section {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f9f9f9;
}

.prayer-admin-section h2 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.prayer-button {
    background: #0073aa;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    margin-bottom: 10px;
}

.prayer-button:hover {
    background: #005a87;
}

.prayer-button.secondary {
    background: #666;
}

.prayer-button.secondary:hover {
    background: #555;
}

.prayer-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.prayer-result {
    margin-top: 15px;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #0073aa;
    background: #f0f8ff;
    min-height: 20px;
}

.prayer-result.error {
    border-left-color: #dc3232;
    background: #ffeaea;
}

.prayer-result.success {
    border-left-color: #46b450;
    background: #ecf7ed;
}

.prayer-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.prayer-stat-card {
    background: white;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #ddd;
    text-align: center;
}

.prayer-stat-number {
    font-size: 32px;
    font-weight: bold;
    color: #0073aa;
    margin-bottom: 10px;
}

.prayer-stat-label {
    color: #666;
    font-size: 14px;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: " ⏳";
}

.prayer-log {
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    max-height: 400px;
    overflow-y: auto;
    font-family: monospace;
    font-size: 12px;
    line-height: 1.4;
}

.prayer-form-row {
    margin-bottom: 15px;
}

.prayer-form-row label {
    display: inline-block;
    width: 150px;
    font-weight: bold;
}