.basamat-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
    min-height: calc(100vh - 140px);
}

.add-basma-btn {
    display: block;
    width: 220px;
    margin: 0 auto 2rem;
    padding: 1.2rem;
    background: linear-gradient(135deg, #004d40 0%, #00695c 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    box-shadow: 0 4px 15px rgba(0, 77, 64, 0.2);
    position: relative;
    overflow: hidden;
}

.add-basma-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.add-basma-btn:hover::before {
    width: 300px;
    height: 300px;
}

.add-basma-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 77, 64, 0.3);
}

.add-basma-btn:active {
    transform: translateY(0);
}

.basma-form-container {
    max-width: 600px;
    margin: 0 auto 3rem;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: none;
    animation: slideDown 0.3s ease;
}

.basma-form-container.active {
    display: block;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid #e0e5ec;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Noto Naskh Arabic', serif;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-group textarea {
    height: 180px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #004d40;
    box-shadow: 0 0 0 4px rgba(0, 77, 64, 0.1);
    background-color: #fff;
}

.form-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.submit-btn, .cancel-btn {
    flex: 1;
    padding: 1.2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.submit-btn {
    background: linear-gradient(135deg, #004d40 0%, #00695c 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 77, 64, 0.2);
}

.cancel-btn {
    background: #f8f9fa;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

.submit-btn:hover, .cancel-btn:hover {
    transform: translateY(-2px);
}

.submit-btn:hover {
    box-shadow: 0 6px 20px rgba(0, 77, 64, 0.3);
}

.cancel-btn:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.basamat-list {
    display: grid;
    gap: 2rem;
    padding: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.basma-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 77, 64, 0.08);
    position: relative;
    overflow: hidden;
    animation: addCard 0.5s ease;
}

.basma-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #004d40, #00695c);
    border-radius: 4px 0 0 4px;
}

.basma-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.basma-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e5ec;
}

.basma-author {
    font-weight: 600;
    color: #004d40;
    font-size: 1.1rem;
}

.basma-date-time {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
}

.basma-date {
    color: #666;
    font-size: 0.9rem;
}

.basma-time {
    color: #00695c;
    font-size: 0.85rem;
    font-weight: 500;
}

.basma-surah {
    color: #00695c;
    font-weight: 500;
    margin-bottom: 1rem;
}

.basma-ayah {
    background: #e0f2f1;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    color: #004d40;
    font-style: italic;
}

.basma-impact {
    line-height: 1.8;
    color: #2d3748;
    white-space: pre-line;
    font-size: 1.05rem;
}

.no-basamat {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 16px;
    color: #666;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 77, 64, 0.08);
    position: relative;
    overflow: hidden;
}

.no-basamat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #004d40, #00695c);
    border-radius: 4px 4px 0 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes addCard {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .basamat-section {
        padding: 1rem;
    }

    .basma-card {
        padding: 1.5rem;
    }

    .basma-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .form-actions {
        flex-direction: column;
    }
}