/* Button Module Styles */
.button-module-wrapper {
    display: flex;
    width: 100%;
    padding: 1rem;
}

/* Konum Stilleri */
.button-module-wrapper.button-center {
    justify-content: center;
    align-items: center;
}

.button-module-wrapper.button-top-center {
    justify-content: center;
    align-items: flex-start;
}

.button-module-wrapper.button-bottom-center {
    justify-content: center;
    align-items: flex-end;
}

.button-module-wrapper.button-left-center {
    justify-content: flex-start;
    align-items: center;
}

.button-module-wrapper.button-right-center {
    justify-content: flex-end;
    align-items: center;
}

.button-module-wrapper.button-top-left {
    justify-content: flex-start;
    align-items: flex-start;
}

.button-module-wrapper.button-top-right {
    justify-content: flex-end;
    align-items: flex-start;
}

.button-module-wrapper.button-bottom-left {
    justify-content: flex-start;
    align-items: flex-end;
}

.button-module-wrapper.button-bottom-right {
    justify-content: flex-end;
    align-items: flex-end;
}

/* Buton Stilleri - Varsayılan değerler, inline style'lar bunları override edecek */
.button-module-wrapper .custom-button,
.button-module-wrapper .news-card-button,
.button-module-wrapper a.news-card-button,
.button-module-wrapper button.news-card-button {
    /* Varsayılan değerler - inline style'lar bunları override eder */
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.5;
    white-space: nowrap;
    border: 1px solid;
    text-align: center;
    /* Renkler, font-size, font-weight, border-radius inline style'dan gelecek */
}

.button-module-wrapper .custom-button:hover,
.button-module-wrapper .news-card-button:hover,
.button-module-wrapper a.news-card-button:hover,
.button-module-wrapper button.news-card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    text-decoration: none;
    /* Hover renkleri JavaScript ile uygulanacak */
}

.custom-button:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.custom-button i {
    font-size: inherit;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-button span {
    white-space: nowrap;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Admin Preview Stilleri */
.button-module-preview {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    min-height: 80px;
    padding: 1.5rem;
}

.button-module-preview .custom-button {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .button-module-wrapper {
        padding: 0.5rem;
    }
    
    .custom-button {
        padding: 0.625rem 1.25rem;
        font-size: 14px !important;
    }
}

