.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s forwards;
}

.modal-content {
    background: white;
    border-radius: 10px;
    text-align: center;
    padding: 40px 20px;
    width: 350px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.5s forwards;
}

/* SVG belgisi */
.svg-box {
    display: inline-block;
    position: relative;
    width: 120px;
    height: 120px;
}

/* Dumaloq animatsiya */
.circular {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    position: relative;
    top: -20px; /* Dumaloqni yuqoriga ko'chirish */
}

.circular circle.path {
    stroke: green;
    stroke-dasharray: 330;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: draw-circle 0.7s ease-out;
}

/* Checkmark belgisi */
.checkmark {
    width: 60px;
    height: 60px;
    position: absolute;
    top: 10px; /* Checkmark belgisi joyi */
    left: 50%;
    transform: translateX(-50%);
}

.checkmark .check {
    stroke: green;
    stroke-width: 4;
    stroke-linecap: round;
    animation: draw-check 1s ease-out;
}

@keyframes draw-check {
    0% {
        stroke-dasharray: 0, 49;
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dasharray: 49, 330;
        stroke-dashoffset: 0;
    }
}

@keyframes draw-circle {
    0% {
        stroke-dasharray: 0, 330;
        opacity: 1;
    }
    100% {
        opacity: 0.4;
    }
}

/* Matn va tugma */
h1 {
    font-size: 20px;
    color: #333;
    margin-bottom: 30px;
    font-family: 'Poppins', sans-serif;
}

.close-btn {
    background: #4584CB; /* Tugma rangi */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 30px;
    font-family: 'Poppins', sans-serif;
}

.close-btn:hover {
    background: #0056b3;
}

/* Animatsiyalar */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideIn {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}