/* Modern UI Styles for VPS Calculator */

/* Range Slider Styles */
.range-slider-container {
    margin-top: 10px;
    width: 100%;
}

.range-slider-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.range-min, .range-max {
    color: var(--text-light);
    font-size: 14px;
}

#budgetValue, #calcBudgetValue {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 18px;
    transition: all 0.2s ease;
}

.value-changed {
    transform: scale(1.2);
    color: var(--accent-color) !important;
}

.button-clicked {
    transform: scale(0.95) !important;
}

.modern-range {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e0e0e0;
    outline: none;
}

.modern-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.modern-range::-webkit-slider-thumb:hover {
    background: #c0392b;
    transform: scale(1.1);
}

.modern-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    border: none;
}

.modern-range::-moz-range-thumb:hover {
    background: #c0392b;
    transform: scale(1.1);
}

.modern-range::-ms-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.modern-range::-ms-thumb:hover {
    background: #c0392b;
    transform: scale(1.1);
}

/* Modern Button Styles */
.modern-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modern-button i {
    margin-left: 8px;
}

.modern-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.modern-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Modern Form Styles */
.modern-form .form-group label {
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    color: var(--dark-color);
}

.modern-form select,
.modern-form input[type="number"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: white;
}

.modern-form select:focus,
.modern-form input[type="number"]:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
    outline: none;
}

.modern-form select:hover,
.modern-form input[type="number"]:hover {
    border-color: #bbb;
}

.modern-form select[multiple] {
    height: 120px;
}

/* Modern Table Styles */
.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.modern-table th {
    background-color: var(--accent-color);
    color: white;
    font-weight: 600;
    text-align: left;
    padding: 15px;
}

.modern-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.modern-table tr:last-child td {
    border-bottom: none;
}

.modern-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.modern-table tr:hover {
    background-color: #f1f5f9;
}

/* Modern Card Styles */
.modern-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Footer Styles */
.modern-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 0;
}

.modern-footer .footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.modern-footer .footer-section {
    flex: 1;
    min-width: 250px;
}

.modern-footer .footer-section h4 {
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.modern-footer .footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

.modern-footer .footer-section ul {
    list-style: none;
}

.modern-footer .footer-section ul li {
    margin-bottom: 10px;
}

.modern-footer .footer-section ul li a {
    color: #bdc3c7;
    transition: all 0.3s ease;
    display: inline-block;
}

.modern-footer .footer-section ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.modern-footer .footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
    font-size: 14px;
}
