/* Modern Purchase Page Styles - Corporate Blue Theme */
.purchase-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0 60px;
}

.purchase-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.4;
}

.purchase-hero .container {
    position: relative;
    z-index: 2;
}

.purchase-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #f8fafc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.purchase-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.software-preview {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.software-preview img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.software-preview .placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-size: 3rem;
}

.breadcrumb-modern {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
}

.breadcrumb-modern .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.breadcrumb-modern .breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-modern .breadcrumb-item.active {
    color: white;
    font-weight: 600;
}

.breadcrumb-modern .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

.purchase-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Login Required Card */
.login-required-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    margin-bottom: 2rem;
}

.login-required-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #2563eb, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.login-required-icon i {
    color: white;
    font-size: 2rem;
}

.login-required-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.login-required-description {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.login-required-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-login-primary {
    background: linear-gradient(45deg, #2563eb, #3b82f6);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-login-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    color: white;
}

.btn-login-secondary {
    background: rgba(37, 99, 235, 0.1);
    border: 2px solid #2563eb;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    color: #2563eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-login-secondary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

/* Purchase Form */
.purchase-form {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title i {
    color: #2563eb;
    font-size: 1.1rem;
}

/* License Options */
.license-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* License Type Display Styles */
.license-type-display {
    margin-top: 1rem;
}

.license-type-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.license-type-card:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.license-type-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 123, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 1.5rem;
}

.license-type-info {
    flex: 1;
}

.license-type-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.license-type-description {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 0;
}

.license-option {
    position: relative;
}

.license-radio {
    display: none;
}

.license-label {
    display: block;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.license-radio:checked + .license-label {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-color: #2563eb;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.license-radio:checked + .license-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #2563eb, #3b82f6);
    border-radius: 16px 16px 0 0;
}

.license-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.license-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.license-price {
    text-align: right;
}

.price-free {
    background: linear-gradient(45deg, #10b981, #34d399);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.price-amount {
    background: linear-gradient(45deg, #2563eb, #3b82f6);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.license-description {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.license-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.license-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.85rem;
}

.license-feature i {
    color: #10b981;
    font-size: 0.75rem;
}

/* Domain Input */
.domain-input-group {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.domain-input-group .form-label {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.domain-input-group .input-group-text {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #64748b;
    font-weight: 500;
}

.domain-input-group .form-control {
    border-color: #cbd5e1;
    border-left: none;
}

.domain-input-group .form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.domain-input-group .form-text {
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.domain-input-group .form-text i {
    color: #2563eb;
    margin-right: 0.25rem;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-method {
    position: relative;
}

.payment-radio {
    display: none;
}

.payment-label {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-radio:checked + .payment-label {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-color: #2563eb;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.payment-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.payment-icon i {
    font-size: 1.5rem;
}

.payment-info {
    flex: 1;
}

.payment-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
}

.payment-description {
    color: #64748b;
    font-size: 0.85rem;
    margin: 0;
}

/* Order Summary */
.order-summary {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
}

.summary-items {
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    font-weight: 500;
    color: #64748b;
}

.summary-value {
    font-weight: 600;
    color: #1e293b;
    text-align: right !important;
    flex: 1 !important;
    min-width: 200px !important;
    box-sizing: border-box !important;
}

/* Domain değeri için özel kural */
#summary-domain {
    text-align: right !important;
    flex: 1 !important;
    font-weight: 600 !important;
    color: #1e293b !important;
}

/* Daha spesifik kural */
.summary-item #summary-domain {
    text-align: right !important;
    margin-left: auto !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    flex: none !important;
    min-width: 200px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* En spesifik kural - global CSS'i ezer */
.summary-item .summary-value#summary-domain {
    text-align: right !important;
    float: right !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    min-width: 200px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
}


.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 2px solid #cbd5e1;
    margin-top: 1rem;
}

.total-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
}

.total-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2563eb;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-purchase-primary {
    background: linear-gradient(45deg, #2563eb, #3b82f6);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    cursor: pointer;
}

.btn-purchase-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    color: white;
}

.btn-purchase-secondary {
    background: transparent;
    border: 2px solid #64748b;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    color: #64748b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-purchase-secondary:hover {
    background: #64748b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 116, 139, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .purchase-title {
        font-size: 2rem;
    }
    
    .login-required-actions {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .license-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .payment-label {
        flex-direction: column;
        text-align: center;
    }
    
    .payment-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Domain validation styles */
.domain-input-group .form-control.is-valid {
    border-color: #10b981;
    box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.25);
}

.domain-input-group .form-control.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 0.2rem rgba(239, 68, 68, 0.25);
}

.domain-input-group .form-text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.domain-input-group .form-text.text-success {
    color: #10b981 !important;
}

.domain-input-group .form-text.text-danger {
    color: #ef4444 !important;
}

/* Payment method selection styles */
.payment-method.selected {
    border-color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.payment-method {
    transition: all 0.3s ease;
}

.payment-method:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
} 