/**
 * Domain Options Tooltip Styles - TeslaServer Theme
 * استایل تولتیپ گزینه‌های دامنه
 */

/* Domain Option Container */
.domain-selection-options .option {
    position: relative;
    transition: all 0.3s ease;
}

/* Domain Option Label Enhancement */
.domain-selection-options .option label {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.domain-selection-options .option:hover label {
    background: rgba(0, 128, 255, 0.05);
}

.domain-selection-options .option-selected label {
    background: rgba(0, 128, 255, 0.08);
}

/* Tooltip Container */
.domain-option-tooltip {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(-15px);
    background: linear-gradient(135deg, #0080FF 0%, #0066CC 100%);
    color: white;
    padding: 0.85rem 1.1rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 128, 255, 0.3);
    min-width: 280px;
    max-width: 320px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

/* Tooltip Arrow */
.domain-option-tooltip::before {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-right-color: #0080FF;
}

/* Show Tooltip on Hover */
.domain-selection-options .option:hover .domain-option-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-10px);
}

/* Tooltip Icon */
.domain-option-tooltip .tooltip-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    float: right;
    margin-left: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* Tooltip Title */
.domain-option-tooltip .tooltip-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.4rem;
}

/* Tooltip Description */
.domain-option-tooltip .tooltip-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Tooltip Benefits List */
.domain-option-tooltip .tooltip-benefits {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.domain-option-tooltip .tooltip-benefits li {
    font-size: 0.8rem;
    padding: 0.25rem 0;
    padding-right: 1.2rem;
    position: relative;
}

.domain-option-tooltip .tooltip-benefits li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: #90EE90;
    font-weight: bold;
}

/* Responsive - Hide on Mobile */
@media (max-width: 768px) {
    .domain-option-tooltip {
        display: none;
    }
}

/* RTL Support */
[dir="rtl"] .domain-option-tooltip {
    right: auto;
    left: 100%;
    transform: translateY(-50%) translateX(15px);
}

[dir="rtl"] .domain-option-tooltip::before {
    left: auto;
    right: 100%;
    border-right-color: transparent;
    border-left-color: #0080FF;
}

[dir="rtl"] .domain-selection-options .option:hover .domain-option-tooltip {
    transform: translateY(-50%) translateX(10px);
}

[dir="rtl"] .domain-option-tooltip .tooltip-icon {
    float: left;
    margin-left: 0;
    margin-right: 0.75rem;
}

[dir="rtl"] .domain-option-tooltip .tooltip-benefits li {
    padding-right: 0;
    padding-left: 1.2rem;
}

[dir="rtl"] .domain-option-tooltip .tooltip-benefits li::before {
    right: auto;
    left: 0;
}

/* Animation */
@keyframes tooltipPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 128, 255, 0.3);
    }
    50% {
        box-shadow: 0 6px 20px rgba(0, 128, 255, 0.5);
    }
}

.domain-selection-options .option:hover .domain-option-tooltip {
    animation: tooltipPulse 2s infinite;
}

/* Info Icon Indicator */
.domain-option-info-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: rgba(0, 128, 255, 0.15);
    color: #0080FF;
    border-radius: 50%;
    text-align: center;
    line-height: 18px;
    font-size: 0.7rem;
    margin-right: 0.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.domain-selection-options .option:hover .domain-option-info-icon {
    background: #0080FF;
    color: white;
    transform: scale(1.1);
}

