/* Script Seller Ürün Sayfası Stilleri */

.domain-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 5px;
}

.domain-input-group input {
    flex: 1;
    min-width: 200px;
}

.check-domain-btn,
.add-domain-btn {
    white-space: nowrap;
    padding: 8px 15px;
    font-size: 14px;
    line-height: 1.4;
}

.check-domain-btn {
    background-color: #0073aa;
    color: white;
    border: 1px solid #0073aa;
}

.check-domain-btn:hover {
    background-color: #005a87;
    border-color: #005a87;
}

.add-domain-btn {
    background-color: #28a745;
    color: white;
    border: 1px solid #28a745;
}

.add-domain-btn:hover {
    background-color: #218838;
    border-color: #218838;
}

.add-domain-btn:disabled {
    background-color: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
}

.domain-status {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
}

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

.domain-status.woocommerce-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

/* Hosting paketleri stilleri */
.hosting-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.hosting-package {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hosting-package:hover {
    border-color: #0073aa;
}

.hosting-package input[type="radio"] {
    display: none;
}

.hosting-package input[type="radio"]:checked + label {
    color: #0073aa;
}

.hosting-package input[type="radio"]:checked + label .package-name {
    font-weight: bold;
}

.hosting-package label {
    display: block;
    cursor: pointer;
    margin: 0;
}

.package-name {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.package-price {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #28a745;
}

/* Mevcut hosting alanları */
.existing-hosting-fields {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.existing-hosting-fields h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.existing-hosting-fields .form-row {
    margin-bottom: 15px;
}

.existing-hosting-fields label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.existing-hosting-fields input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Bağlantı test butonu */
#test_connection {
    background-color: #17a2b8;
    color: white;
    border: 1px solid #17a2b8;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

#test_connection:hover {
    background-color: #138496;
    border-color: #138496;
}

#test_connection:disabled {
    background-color: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
}

/* Genel form stilleri */
.script-seller-fields {
    margin-bottom: 30px;
}

.script-seller-fields h3 {
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 5px;
}

.script-seller-fields .form-row {
    margin-bottom: 20px;
}

.script-seller-fields label {
    font-weight: 500;
    color: #333;
}

.script-seller-fields .required {
    color: #dc3545;
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .domain-input-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .domain-input-group input {
        margin-bottom: 10px;
    }
    
    .hosting-packages {
        grid-template-columns: 1fr;
    }
} 