/* General body styling */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #1a1a1a; /* Dark background similar to Squid Game Counter */
    font-family: 'Digital-7', sans-serif; /* Placeholder for digital font */
    direction: rtl; /* Right-to-left for Persian text */
    color: #00ff00; /* Green digital text color */
}

/* Font for digital display */
@font-face {
    font-family: 'Digital-7';
    src: url('digital-7.ttf') format('truetype'); /* Assuming a digital font file */
}

.zekr-shomar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #333; /* Darker panel background */
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.5); /* Green glow */
    border: 2px solid #00ff00;
}

.zekr-display-area {
    background-color: #000; /* Black display background */
    border: 2px solid #00ff00;
    padding: 20px 40px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: inset 0 0 10px rgba(0, 255, 0, 0.7);
}

.zekr-count-display {
    font-size: 5em;
    font-family: 'Digital-7', monospace;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

.zekr-text-display {
    font-size: 1.5em;
    color: #00ff00;
    margin-top: 10px;
}

.zekr-controls-area {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.control-button {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    font-size: 4em;
    font-weight: bold;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.1s ease-in-out, box-shadow 0.3s ease;
}

.decrement-button {
    background-color: #ff0000; /* Red for decrement */
}

.decrement-button:active {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.6);
}

.increment-button {
    background-color: #0000ff; /* Blue for increment */
}

.increment-button:active {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 255, 0.6);
}

.zekr-options-area {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 80%;
}

.zekr-select,
.zekr-custom-input,
.zekr-set-custom,
.zekr-reset {
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #00ff00;
    background-color: #1a1a1a;
    color: #00ff00;
    font-size: 1em;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.zekr-select option {
    background-color: #1a1a1a;
    color: #00ff00;
}

.zekr-set-custom,
.zekr-reset {
    cursor: pointer;
    background-color: #009688; /* Turquoise for action buttons */
    color: white;
    border: none;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.zekr-set-custom:hover,
.zekr-reset:hover {
    background-color: #00796b;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}

/* Islamic pattern background for the main container */
.zekr-shomar-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="islamic-pattern" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 0 0 L 5 0 L 5 5 L 0 5 Z M 5 5 L 10 5 L 10 10 L 5 10 Z" fill="%23004d40" opacity="0.1"/></pattern></defs><rect x="0" y="0" width="100" height="100" fill="url(%23islamic-pattern)"/></svg>');
    background-size: 20px 20px;
    opacity: 0.1;
    z-index: -1;
    border-radius: 15px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .zekr-display-area {
        padding: 15px 20px;
    }

    .zekr-count-display {
        font-size: 3.5em;
    }

    .zekr-text-display {
        font-size: 1.2em;
    }

    .zekr-controls-area {
        flex-direction: column;
        gap: 15px;
    }

    .control-button {
        width: 100px;
        height: 100px;
        font-size: 3em;
    }

    .zekr-options-area {
        width: 95%;
    }
}

