/* TYGES Vacancy Cost Calculator — Scoped Styles */
.tyges-vc-wrap {
    font-family: Arial, Tahoma, Geneva, Verdana, sans-serif;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.tyges-vc-wrap *,
.tyges-vc-wrap *::before,
.tyges-vc-wrap *::after {
    box-sizing: border-box;
}

.tyges-vc-wrap .tyges-vc-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Header */
.tyges-vc-wrap .tyges-vc-header {
    background: linear-gradient(135deg, #0F4660 0%, #0F4660 100%);
    color: #ffffff;
    padding: 40px 30px;
    text-align: center;
}

.tyges-vc-wrap .tyges-vc-header h2 {
    font-size: 28px;
    margin: 0 0 10px 0;
    padding: 0;
    color: #ffffff;
    line-height: 1.3;
    letter-spacing: normal;
    text-transform: none;
}

.tyges-vc-wrap .tyges-vc-header p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
    color: #ffffff;
}

/* Content */
.tyges-vc-wrap .tyges-vc-content {
    padding: 40px;
}

/* Input grid */
.tyges-vc-wrap .tyges-vc-input-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .tyges-vc-wrap .tyges-vc-input-section {
        grid-template-columns: 1fr;
    }
}

.tyges-vc-wrap .tyges-vc-input-group {
    display: flex;
    flex-direction: column;
}

.tyges-vc-wrap .tyges-vc-input-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333333;
    font-size: 14px;
    text-transform: none;
    letter-spacing: normal;
}

.tyges-vc-wrap .tyges-vc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tyges-vc-wrap .tyges-vc-help {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #D76227;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: help;
    font-weight: bold;
    line-height: 1;
    flex-shrink: 0;
}

/* Inputs */
.tyges-vc-wrap input[type="number"] {
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    font-family: Arial, monospace;
    transition: border-color 0.3s;
    width: 100%;
    background: #ffffff;
    color: #333333;
    -moz-appearance: textfield;
}

.tyges-vc-wrap input[type="number"]:focus {
    outline: none;
    border-color: #D76227;
    box-shadow: 0 0 0 3px rgba(215, 98, 39, 0.1);
}

/* Preset buttons */
.tyges-vc-wrap .tyges-vc-presets {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.tyges-vc-wrap .tyges-vc-preset-btn {
    padding: 8px 12px;
    background: #f0f0f0;
    border: 1px solid #dddddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
    color: #333333;
    line-height: 1;
}

.tyges-vc-wrap .tyges-vc-preset-btn:hover {
    background: #D76227;
    color: #ffffff;
    border-color: #D76227;
}

/* Action buttons */
.tyges-vc-wrap .tyges-vc-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.tyges-vc-wrap .tyges-vc-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
    line-height: 1.4;
}

.tyges-vc-wrap .tyges-vc-btn-calc {
    background: #D76227;
    color: #ffffff;
}

.tyges-vc-wrap .tyges-vc-btn-calc:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px 0 #aeaeae;
}

.tyges-vc-wrap .tyges-vc-btn-reset {
    background: #e0e0e0;
    color: #333333;
}

.tyges-vc-wrap .tyges-vc-btn-reset:hover {
    background: #d0d0d0;
}

/* Divider */
.tyges-vc-wrap .tyges-vc-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 40px 0;
}

/* Results */
.tyges-vc-wrap .tyges-vc-results {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.tyges-vc-wrap .tyges-vc-results-title {
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 25px;
    text-align: center;
}

.tyges-vc-wrap .tyges-vc-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .tyges-vc-wrap .tyges-vc-results-grid {
        grid-template-columns: 1fr;
    }
}

.tyges-vc-wrap .tyges-vc-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #D76227;
}

.tyges-vc-wrap .tyges-vc-card-label {
    font-size: 12px;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

.tyges-vc-wrap .tyges-vc-card-value {
    font-size: 28px;
    font-weight: 700;
    color: #D76227;
    font-family: Arial, monospace;
}

.tyges-vc-wrap .tyges-vc-card-total {
    border-left-color: #D76227;
    grid-column: 1 / -1;
}

.tyges-vc-wrap .tyges-vc-card-total .tyges-vc-card-value {
    font-size: 36px;
    color: #D76227;
}

/* Breakdown table */
.tyges-vc-wrap .tyges-vc-breakdown {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.tyges-vc-wrap .tyges-vc-breakdown-title {
    font-size: 18px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 15px;
}

.tyges-vc-wrap .tyges-vc-breakdown-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 13px;
}

.tyges-vc-wrap .tyges-vc-breakdown-row:last-child {
    border-bottom: none;
}

.tyges-vc-wrap .tyges-vc-breakdown-label {
    color: #666666;
}

.tyges-vc-wrap .tyges-vc-breakdown-value {
    font-weight: 600;
    color: #333333;
    font-family: Arial, monospace;
}

/* Insights */
.tyges-vc-wrap .tyges-vc-insights {
    background: #0F4660;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 14px;
    color: #ffffff;
    line-height: 1.6;
}

/* Footer */
.tyges-vc-wrap .tyges-vc-footer {
    font-size: 12px;
    text-align: center;
    padding: 10px 0 15px;
    color: #999999;
}
