/**
 * FILE: /var/www/html/assets/css/custom-builder.css
 * DESCRIPTION: Styles for custom VPS quote builder page
 * Extracted from inline styles for better performance and caching
 */

/* Navigation & Header */
.login-btn {
    background: linear-gradient(135deg, #00ffff, #0099cc) !important;
    color: #000 !important;
    padding: 4px 10px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3) !important;
    display: inline-block !important;
    border: none !important;
    cursor: pointer !important;
}
.login-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.4) !important;
}
@media (max-width: 768px) {
    .login-btn {
        padding: 5px 12px !important;
        font-size: 0.9rem !important;
    }
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.logo-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}
.logo-image {
    height: 70px;
    width: auto;
    display: block;
}
@media (max-width: 768px) {
    .logo-image {
        height: 55px;
    }
}
@media (max-width: 480px) {
    .logo-image {
        height: 45px;
    }
}

/* Dropdown Menu */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}
.nav-item {
    position: relative;
}
.dropdown {
    position: relative;
}
.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}
.dropdown-toggle::after {
    content: '▼';
    font-size: 0.7em;
    transition: transform 0.3s ease;
}
.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, rgba(0, 20, 40, 0.98), rgba(0, 30, 60, 0.98));
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
    z-index: 1000;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li {
    list-style: none;
}
.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}
.dropdown-menu a:hover {
    background: rgba(0, 255, 255, 0.1);
    border-left-color: #00ffff;
    color: #00ffff;
    padding-left: 25px;
}

/* Page Layout */
body { padding-top: 80px; }
.main-container { position: relative; z-index: 1; max-width: 1400px; margin: 0 auto; padding: 40px 30px; }
.page-title { text-align: center; font-size: 2.5rem; margin-bottom: 15px; background: linear-gradient(45deg, #00ffff, #0080ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-subtitle { text-align: center; color: rgba(255, 255, 255, 0.7); font-size: 1.1rem; margin-bottom: 50px; }

/* Quote Builder Layout */
.quote-builder { display: grid; grid-template-columns: 1fr 400px; gap: 30px; margin-bottom: 40px; }
@media (max-width: 1024px) { .quote-builder { grid-template-columns: 1fr; } }
.config-section { background: rgba(20, 20, 30, 0.8); backdrop-filter: blur(20px); border: 1px solid rgba(0, 255, 255, 0.3); border-radius: 20px; padding: 35px; }
.section-title { color: #00ffff; font-size: 1.3rem; margin-bottom: 25px; display: flex; align-items: center; gap: 10px; }
.section-title::before { content: ''; width: 4px; height: 24px; background: linear-gradient(180deg, #00ffff, #0080ff); border-radius: 2px; }
.config-group { margin-bottom: 30px; }
.config-label { display: block; color: #ffffff; margin-bottom: 12px; font-weight: 500; font-size: 1rem; }
.config-label span { color: rgba(255, 255, 255, 0.6); font-weight: normal; font-size: 0.9rem; }

/* VPS Type Selection */
.vps-type-options { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.vps-type-card { background: rgba(255, 255, 255, 0.05); border: 2px solid rgba(0, 255, 255, 0.3); border-radius: 12px; padding: 20px; cursor: pointer; transition: all 0.3s ease; text-align: center; }
.vps-type-card:hover { border-color: rgba(0, 255, 255, 0.6); background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.vps-type-card.selected { border-color: #00ffff; background: rgba(0, 255, 255, 0.1); }
.vps-type-card input[type="radio"] { display: none; }
.vps-type-icon { font-size: 2rem; margin-bottom: 10px; }
.vps-type-name { font-weight: bold; color: #ffffff; margin-bottom: 5px; }
.vps-type-desc { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

/* Slider Input */
.slider-container { position: relative; }
.slider-value { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.slider-current { font-size: 1.5rem; color: #00ffff; font-weight: bold; }
.slider-range { color: rgba(255, 255, 255, 0.5); font-size: 0.9rem; }
input[type="range"] { width: 100%; height: 8px; background: rgba(255, 255, 255, 0.1); border-radius: 5px; outline: none; -webkit-appearance: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; background: linear-gradient(45deg, #00ffff, #0080ff); cursor: pointer; border-radius: 50%; box-shadow: 0 0 10px rgba(0, 255, 255, 0.5); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; background: linear-gradient(45deg, #00ffff, #0080ff); cursor: pointer; border-radius: 50%; border: none; box-shadow: 0 0 10px rgba(0, 255, 255, 0.5); }

/* Select Dropdown */
select { width: 100%; padding: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(0, 255, 255, 0.3); border-radius: 8px; color: #ffffff; font-size: 1rem; cursor: pointer; transition: all 0.3s ease; }
select:focus { outline: none; border-color: #00ffff; box-shadow: 0 0 0 2px rgba(0, 255, 255, 0.2); }
select option { background: #1a1a2e; color: #ffffff; padding: 10px; }

/* Form Input */
.form-input { width: 100%; padding: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(0, 255, 255, 0.3); border-radius: 8px; color: #ffffff; font-size: 1rem; font-family: inherit; transition: all 0.3s ease; }
.form-input::placeholder { color: rgba(255, 255, 255, 0.5); }
.form-input:focus { outline: none; border-color: #00ffff; box-shadow: 0 0 0 2px rgba(0, 255, 255, 0.2); }
.form-input:disabled { opacity: 0.6; cursor: not-allowed; }

/* Quote Summary */
.quote-summary { position: sticky; top: 100px; background: rgba(20, 20, 30, 0.95); backdrop-filter: blur(20px); border: 2px solid rgba(0, 255, 255, 0.4); border-radius: 20px; padding: 30px; height: fit-content; }
.summary-title { font-size: 1.5rem; color: #00ffff; margin-bottom: 25px; text-align: center; }
.summary-item { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.summary-item:last-child { border-bottom: none; }
.summary-label { color: rgba(255, 255, 255, 0.8); }
.summary-value { color: #ffffff; font-weight: 500; }
.summary-total { margin-top: 20px; padding-top: 20px; border-top: 2px solid rgba(0, 255, 255, 0.5); display: flex; justify-content: space-between; align-items: center; }
.summary-total-label { font-size: 1.2rem; color: #ffffff; font-weight: bold; }
.summary-total-value { font-size: 2rem; color: #00ff88; font-weight: bold; }
.summary-note { text-align: center; color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; margin-top: 15px; }
.specs-list { background: rgba(0, 255, 255, 0.05); border-radius: 10px; padding: 20px; margin-top: 25px; }
.specs-list h4 { color: #00ffff; margin-bottom: 15px; font-size: 1rem; }
.spec-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; }
.spec-item::before { content: '✓'; color: #00ff88; font-weight: bold; }

/* Buttons */
.btn-small { padding: 8px 15px; font-size: 0.9rem; border: none; border-radius: 6px; cursor: pointer; transition: all 0.3s ease; }
.btn-primary { background: #007bff; color: white; }
.btn-primary:hover { background: #0056b3; }
.payment-button { width: 100%; padding: 18px; background: linear-gradient(45deg, #00ff88, #00cc66); color: #000; border: none; border-radius: 10px; font-size: 1.2rem; font-weight: bold; cursor: pointer; transition: all 0.3s ease; }
.payment-button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3); }
.payment-button:disabled { background: #666; cursor: not-allowed; transform: none; }
