

:root {
            --primary-color: #1a5f7a;
            --secondary-color: #57cc99;
            --accent-color: #ffd166;
            --dark-color: #0a2c3d;
            --light-color: #f8f9fa;
            --text-color: #333;
            --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            --border-radius: 10px;
        }

        body {
            background-color: #f5f5f5;
            color: var(--text-color);
            line-height: 1.6;
            background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), 
                              url('https://images.unsplash.com/photo-1541961017774-22349e4a1262?q=80&w=2058&auto=format&fit=crop');
            background-size: cover;
            background-attachment: fixed;
            min-height: 100vh;
        }

        .container {
            margin: 0 auto;
            padding: 20px;
        }

        .main-container {
            max-width: 612px !important;
        }

        header {
            background: var(--color1);
            color: white;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        }

        .header-content {
            display: flex;
            align-items: center;
            padding: 0;
        }

        .logo {
            position: relative;
            width: 100%;
            display: flex;
            align-items: center;
        }

        .logo i {
            font-size: 2.5rem;
            color: var(--accent-color);
        }

        .logo-text h1 {
            font-size: 1.4rem;
            margin-bottom: 5px;
            color: var(--ast-global-color-6);
        }
        
        .logo:before {
            content: '';
            display: block;
            aspect-ratio: 1;
            height: 100%;
            background: #f5f5f5;
            position: absolute;
            top: 0;
            right: 0;
            border-radius: 40px 0 0;
        }

        .img-logo-container {
            position: relative;
            padding: 20px;
        }

        .logo-text {
            padding: 20px;
            position: relative;
        }

        img.custom-logo {
            position: relative;
            filter: drop-shadow(-2px 2px 2px rgba(0, 0, 0, 0.2));
        }

        .img-logo-container:before {
            content: '';
            width: 51%;
            aspect-ratio: 1;
            position: absolute;
            background: #f5f5f5;
            left: -50%;
            bottom: 0;
        }

        .img-logo-container::after {
            content: '';
            width: 60%;
            aspect-ratio: 1;
            position: absolute;
            background: var(--color1);
            left: -60%;
            bottom: 0;
            border-radius: 0 0 40px;
        }

        .logo-text p {
            font-size: 1rem;
            opacity: 0.9;
        }

        @media (max-width:375px) {
            .logo-text h1 {
                font-size: 5vw;
            }
            
            img.custom-logo {
                width: 13vw;
                height: 13vw;
            }
        }

        .competition-info {
            background-color: rgba(255, 255, 255, 0.1);
            padding: 10px 20px;
            border-radius: var(--border-radius);
            text-align: center;
        }

        .competition-info h2 {
            color: var(--accent-color);
            margin-bottom: 5px;
        }

        .main-content {
            display: grid;
            grid-template-columns: 1fr;
            gap: 30px;
            margin-top: 30px;
        }

        .book-prize {
            background-color: white;
            border-radius: var(--border-radius);
            padding: 25px;
            box-shadow: var(--shadow);
            border-top: 5px solid var(--color1);
        }

        .book-prize h2 {
            color: var(--primary-color);
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #eee;
        }

        .book-cover {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
            margin-bottom: 20px;
        }

        .book-cover img {
            width: 150px;
            height: 200px;
            object-fit: cover;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        .book-details h3 {
            color: var(--dark-color);
            margin-bottom: 10px;
            font-size: 1.5rem;
        }

        .book-details p {
            color: #666;
            margin-bottom: 8px;
        }

        .book-features {
            margin-top: 20px;
        }

        .book-features h4 {
            color: var(--primary-color);
            margin-bottom: 10px;
        }

        .book-features ul {
            list-style-type: none;
            padding-right: 20px;
        }

        .book-features li {
            margin-bottom: 8px;
            position: relative;
        }

        .book-features li:before {
            content: "✓";
            color: var(--secondary-color);
            font-weight: bold;
            position: absolute;
            right: -20px;
        }

        .registration-form {
            background-color: white;
            border-radius: var(--border-radius);
            padding: 25px;
            box-shadow: var(--shadow);
            border-top: 5px solid var(--primary-color);
        }

        .registration-form h2 {
            color: var(--primary-color);
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #eee;
        }

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

        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--dark-color);
        }

        input {
            width: 100%;
            padding: 12px 8px !important;
            border: 1px solid #ddd;
            border-radius: var(--border-radius);
            font-size: 1rem;
            transition: border 0.3s;
        }

        input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(26, 95, 122, 0.2);
        }

        select {
            padding: 0 10px 0 8px !important;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        .forminator-error-message{
            display: inline-block;
            color: #bb0000;
        }

        button.forminator-button.forminator-button-submit::before {
            content: "\f1d8";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            margin-left: 1em;
        }

        @media (max-width: 768px) {
            .form-row {
                grid-template-columns: 1fr;
            }
        }

        .password-container {
            position: relative;
        }

        .password-toggle {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #777;
            cursor: pointer;
        }

        .submit-btn {
            background: var(--color1);
            color: white;
            border: none;
            padding: 15px 30px;
            font-size: 1.1rem;
            border-radius: var(--border-radius);
            cursor: pointer;
            width: 100%;
            font-weight: 600;
            transition: transform 0.3s, box-shadow 0.3s;
            margin-top: 10px;
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 7px 15px rgba(0, 0, 0, 0.1);
        }

        .submit-btn:active {
            transform: translateY(0);
        }

        .form-footer {
            text-align: center;
            margin-top: 20px;
            color: #666;
            font-size: 0.9rem;
        }

        footer {
            background-color: var(--color1);
            color: white;
            text-align: center;
            padding: 25px 0;
            margin-top: 50px;
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }

        @media (max-width: 768px) {
            .footer-content {
                flex-direction: column;
                gap: 20px;
            }
        }

        .social-icons a {
            color: white;
            font-size: 1.5rem;
            margin-left: 15px;
            transition: color 0.3s;
        }

        .social-icons a:hover {
            color: var(--accent-color);
        }

        .message {
            padding: 15px;
            border-radius: var(--border-radius);
            margin-bottom: 20px;
            text-align: center;
            display: none;
        }

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

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

        .validation-error {
            color: #e74c3c;
            font-size: 0.9rem;
            margin-top: 5px;
            display: none;
        }

        .timer {
            color: white;
            text-align: center;
            padding: 15px;
            margin: 15px 0;
        }

        .timer-header {
            background: var(--color1);
            color: var(--ast-global-color-6);
            width: fit-content;
            padding: 10px 12px 15px;
            margin: 0 auto 20px;
            border-radius: 10px;
        }

        .timer-header h3 {
            color: var(--ast-global-color-6);
            margin-bottom: 5px;
        }

        .timer-container {
            display: flex;
            justify-content: center;
            gap: 15px;
            font-size: 1.5rem;
            font-weight: bold;
        }

        .timer-unit {
            display: flex;
            flex-direction: column;
            align-items: center;
            background: var(--color1);
            border-radius: 10px;
        }

        .timer-value {
            padding: 10px 15px 0;
            min-width: 60px;
        }

        .timer-label {
            font-size: 0.9rem;
            margin: 0 0 10px;
            opacity: 0.9;
        }

        @media (max-width: 375px) {
            .timer-value {
                padding: 5px 15px 0;
                min-width: 55px;
            }
        }

        #post-421 {
            padding: 0;
        }
.importance-note {
            background-color: #f8f4e5;
            padding: 20px;
            border-radius: var(--border-radius);
            margin-top: 20px;
            border-right: 5px solid var(--secondary-color);
        }

        .importance-note h4 {
            color: var(--primary-color);
            margin-bottom: 10px;
            font-size: 1.3rem;
        }

        .importance-note p {
            line-height: 1.8;
        }

.competition-info {
    display: none;
}

.hero-container h2 {
    text-align: center;
    background: var(--color1);
    backdrop-filter: blur(2px);
    color: var(--ast-global-color-6);
    padding: 10px 0;
}

.hero-container {
    margin-top: 20px;
    background: url("https://daralzad.com/islamic-pattern-background/");
    background-size: 350px;
    border: 1px solid var(--color1);
    border-radius: 20px;
    overflow: clip;
    box-shadow: -3px 3px 5px rgba(0,0,0,0.1);
}


.book-details {
    width: 100%;
}

.forminator-response-message.forminator-show.forminator-error{
    color: #bb0000;
}