/* Glycon Order Steps Styles */

/* Hide old elements */
.g-page-hero,
.g-page-hero-section,
.page-hero,
.sayfaustheader,
.sayfabaslik,
.g-breadcrumb,
.breadcrumb {
    display: none !important;
}

/* Override jQuery UI Accordion styles */
.ui-accordion,
.ui-accordion .ui-accordion-header,
.ui-accordion .ui-accordion-content,
.ui-widget,
.ui-widget-content,
.ui-widget-header,
.ui-state-default,
.ui-state-active,
.ui-state-hover,
.ui-corner-all,
.ui-corner-top,
.ui-corner-bottom {
    border: none !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
}

.ui-accordion .ui-accordion-header {
    display: none !important;
}

.ui-accordion .ui-accordion-content {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
    padding: 0 !important;
}

#accordion {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    background: transparent !important;
}

#accordion > h3 {
    display: none !important;
}

#accordion > div {
    display: block !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Main Container */
.os-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    padding: 40px 0 80px;
}

.os-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Header */
.os-header {
    text-align: center;
    margin-bottom: 40px;
}

.os-title {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 8px;
}

.os-subtitle {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

/* Steps Progress */
.os-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 50px;
    position: relative;
}

.os-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 140px;
}

.os-step::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 3px;
    background: #e2e8f0;
    z-index: 0;
}

.os-step:last-child::after {
    display: none;
}

.os-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.os-step-name {
    margin-top: 10px;
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
    font-weight: 500;
}

.os-step.active .os-step-number {
    background: linear-gradient(135deg, #3f93d6, #3ad8b6);
    color: #fff;
    box-shadow: 0 4px 15px rgba(63,147,214,0.3);
}

.os-step.active .os-step-name {
    color: #3f93d6;
    font-weight: 600;
}

.os-step.completed .os-step-number {
    background: #22c55e;
    color: #fff;
}

.os-step.completed::after {
    background: #22c55e;
}

/* Content Card */
.os-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden;
}

.os-card-header {
    padding: 24px 30px;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: #fff;
}

.os-card-header h2 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
}

.os-card-header p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

.os-card-body {
    padding: 30px;
}

/* Period Selection */
.os-periods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}

.os-period {
    position: relative;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 180px;
    max-width: 220px;
}

.os-period:hover {
    border-color: #3f93d6;
    background: #fff;
}

.os-period.active {
    border-color: #3f93d6;
    background: #fff;
    box-shadow: 0 4px 15px rgba(63,147,214,0.15);
}

.os-period-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.os-period-name {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.os-period-price {
    font-size: 22px;
    font-weight: 800;
    color: #3f93d6;
}

.os-period-check {
    width: 24px;
    height: 24px;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    margin: 12px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.os-period.active .os-period-check {
    background: #3f93d6;
    border-color: #3f93d6;
    color: #fff;
}

.os-period.active .os-period-check i {
    display: block;
}

.os-period-check i {
    display: none;
    font-size: 12px;
}

/* Submit Button */
.os-submit {
    text-align: center;
    padding-top: 20px;
}

.os-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #3f93d6, #3ad8b6);
    color: #fff;
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.os-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(63,147,214,0.3);
    color: #fff;
}

/* Error Message */
.os-error {
    text-align: center;
    color: #ef4444;
    font-size: 14px;
    margin-top: 16px;
    display: none;
}

/* Domain Section */
.os-domain-tabs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.os-domain-tab {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.os-domain-tab:hover {
    border-color: #3f93d6;
}

.os-domain-tab-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.os-domain-tab-header:hover {
    background: #f8fafc;
}

.os-domain-tab.active {
    border-color: #3f93d6;
}

.os-domain-tab.active .os-domain-tab-header {
    background: #f8fafc;
}

.os-domain-tab-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3f93d6, #3ad8b6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.os-domain-tab-title {
    flex: 1;
}

.os-domain-tab-title h3 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.os-domain-tab-title p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.os-domain-tab-toggle {
    color: #94a3b8;
    font-size: 14px;
    transition: all 0.3s;
}

.os-domain-tab.active .os-domain-tab-toggle {
    transform: rotate(180deg);
}

.os-domain-tab-body {
    padding: 24px;
    border-top: 1px solid #f1f5f9;
}

/* licendedomain_form içindeki stiller */
#licendedomain_form .os-domain-search {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

/* Domain Search */
.os-domain-search {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.os-domain-search input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    background: #fff;
}

.os-domain-search input:focus {
    outline: none;
    border-color: #3f93d6;
    box-shadow: 0 0 0 3px rgba(63,147,214,0.1);
}

.os-domain-search button,
.os-domain-search a {
    padding: 14px 28px;
    background: linear-gradient(135deg, #3f93d6, #3ad8b6);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    white-space: nowrap;
}

.os-domain-search button:hover,
.os-domain-search a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(63,147,214,0.3);
    color: #fff;
}

.os-domain-hint {
    font-size: 13px;
    color: #94a3b8;
    text-align: center;
    margin: 12px 0 0;
}

/* Domain Result */
.os-domain-result {
    margin-top: 20px;
    padding: 24px;
    background: #f8fafc;
    border-radius: 12px;
    text-align: center;
    display: none;
}

.os-domain-result.available {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.os-domain-result.unavailable {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.os-domain-result h4 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
}

.os-domain-result.available h4 {
    color: #22c55e;
}

.os-domain-result.unavailable h4 {
    color: #ef4444;
}

.os-domain-result p {
    margin: 0 0 16px;
    color: #64748b;
    font-size: 14px;
}

/* Hosting Options */
.os-hosting-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.os-hosting-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.os-hosting-card.recommended {
    border-color: #3f93d6;
}

.os-hosting-card-header {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
}

.os-hosting-card.recommended .os-hosting-card-header {
    background: linear-gradient(135deg, rgba(63,147,214,0.1), rgba(58,216,182,0.1));
}

.os-hosting-badge {
    position: absolute;
    top: -1px;
    right: 20px;
    background: linear-gradient(135deg, #3f93d6, #3ad8b6);
    color: #fff;
    padding: 6px 14px;
    border-radius: 0 0 8px 8px;
    font-size: 12px;
    font-weight: 600;
}

.os-hosting-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.os-hosting-icon.green {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
}

.os-hosting-icon.gray {
    background: #e2e8f0;
    color: #64748b;
}

.os-hosting-title h3 {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 600;
    color: #1e293b;
}

.os-hosting-title p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.os-hosting-toggle {
    margin-left: auto;
    color: #94a3b8;
    transition: all 0.3s;
}

.os-hosting-card.open .os-hosting-toggle {
    transform: rotate(180deg);
}

.os-hosting-body {
    padding: 0 24px 24px;
    display: none;
}

.os-hosting-card.open .os-hosting-body {
    display: block;
}

/* Hosting Select */
.os-hosting-select-wrapper {
    margin-bottom: 16px;
}

.os-hosting-select-wrapper label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 8px;
}

.os-hosting-select-wrapper select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.os-hosting-select-wrapper select:focus {
    outline: none;
    border-color: #3f93d6;
}

/* Info Box */
.os-info-box {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #f0fdf4;
    border-radius: 10px;
    margin-bottom: 20px;
}

.os-info-box.warning {
    background: #fffbeb;
}

.os-info-box-icon {
    color: #22c55e;
    font-size: 20px;
    flex-shrink: 0;
}

.os-info-box.warning .os-info-box-icon {
    color: #f59e0b;
}

.os-info-box-text {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}

/* Requirements Box */
.os-requirements {
    background: #f8fafc;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.os-requirements h4 {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.os-requirements-list {
    font-size: 13px;
    color: #64748b;
    line-height: 1.8;
}

/* Form Table */
.os-form-table {
    width: 100%;
}

.os-form-table tr {
    border-bottom: 1px solid #f1f5f9;
}

.os-form-table tr:last-child {
    border-bottom: none;
}

.os-form-table td {
    padding: 16px 0;
    vertical-align: top;
}

.os-form-table td:first-child {
    width: 40%;
    padding-right: 20px;
}

.os-form-table label strong {
    font-size: 14px;
    color: #1e293b;
}

.os-form-table label span {
    display: block;
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
}

.os-form-table input[type="text"],
.os-form-table textarea,
.os-form-table select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.os-form-table input:focus,
.os-form-table textarea:focus,
.os-form-table select:focus {
    outline: none;
    border-color: #3f93d6;
}

.os-form-table textarea {
    min-height: 100px;
    resize: vertical;
}

.zorunlu {
    color: #ef4444;
    font-weight: bold;
    margin-right: 4px;
}

/* Addons */
.os-addon-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.os-addon-option label {
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .os-page {
        padding: 20px 0 60px;
    }
    
    .os-title {
        font-size: 22px;
    }
    
    .os-steps {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .os-step::after {
        display: none;
    }
    
    .os-step-name {
        font-size: 10px;
    }
    
    .os-periods {
        grid-template-columns: 1fr;
    }
    
    .os-card-body {
        padding: 20px;
    }
    
    .os-domain-search {
        flex-direction: column;
    }
    
    .os-form-table td {
        display: block;
        width: 100% !important;
        padding: 10px 0;
    }
    
    .os-form-table td:first-child {
        padding-right: 0;
        padding-bottom: 8px;
    }
}

/* Hosting Step Container */
.hosting-step-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hosting-option-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.hosting-option-card--recommended {
    border-color: #3f93d6;
}

.hosting-option-card__header {
    padding: 20px 24px;
    cursor: pointer;
    position: relative;
}

.hosting-option-card--recommended .hosting-option-card__header {
    background: linear-gradient(135deg, rgba(63,147,214,0.08), rgba(58,216,182,0.08));
}

.hosting-option-card__badge {
    position: absolute;
    top: 0;
    right: 20px;
    background: linear-gradient(135deg, #3f93d6, #3ad8b6);
    color: #fff;
    padding: 6px 14px;
    border-radius: 0 0 10px 10px;
    font-size: 12px;
    font-weight: 600;
}

.hosting-option-card__title-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hosting-option-card__icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.hosting-option-card__icon--green {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
}

.hosting-option-card__icon--gray {
    background: #e2e8f0;
    color: #64748b;
}

.hosting-option-card__title-text h3 {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 600;
    color: #1e293b;
}

.hosting-option-card__title-text p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.hosting-option-card__toggle {
    margin-left: auto;
    color: #94a3b8;
    transition: all 0.3s;
}

.hosting-option-card--open .hosting-option-card__toggle {
    transform: rotate(180deg);
}

.hosting-option-card__body {
    padding: 0 24px 24px;
    display: none;
}

.hosting-option-card--open .hosting-option-card__body {
    display: block;
}

.hosting-auto-install-info {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #f0fdf4;
    border-radius: 10px;
    margin-bottom: 20px;
}

.hosting-auto-install-info__icon {
    color: #22c55e;
    font-size: 20px;
    flex-shrink: 0;
}

.hosting-auto-install-info__text {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}

.hosting-select-wrapper {
    margin-bottom: 16px;
}

.hosting-select-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 8px;
}

.hosting-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 12px;
}

.hosting-select:focus {
    outline: none;
    border-color: #3f93d6;
}

.hosting-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #3f93d6, #3ad8b6);
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.hosting-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(63,147,214,0.3);
    color: #fff;
}

.hosting-submit-btn--secondary {
    background: #64748b;
}

.hosting-submit-btn--secondary:hover {
    box-shadow: 0 6px 20px rgba(100,116,139,0.3);
}

.hosting-packages-link {
    margin-top: 16px;
    font-size: 13px;
    color: #64748b;
}

.hosting-packages-link a {
    color: #3f93d6;
    text-decoration: none;
}

.hosting-packages-link a:hover {
    text-decoration: underline;
}

.hosting-option-divider {
    text-align: center;
    position: relative;
    padding: 10px 0;
}

.hosting-option-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
}

.hosting-option-divider span {
    position: relative;
    background: #f8fafc;
    padding: 0 20px;
    color: #94a3b8;
    font-size: 14px;
}

.hosting-own-warning {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #fffbeb;
    border-radius: 10px;
    margin-bottom: 20px;
}

.hosting-own-warning__icon {
    color: #f59e0b;
    font-size: 20px;
    flex-shrink: 0;
}

.hosting-own-warning__text {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}

.hosting-requirements-box {
    background: #f8fafc;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.hosting-requirements-box h4 {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.hosting-requirements-list {
    font-size: 13px;
    color: #64748b;
    line-height: 1.8;
}

.hosting-own-submit {
    text-align: center;
}
