 .contact-form {
        background: #f8f9fa;
        border-left: 5px solid #ff6b35;
        padding: 25px;
        border-radius: 8px;
        margin-bottom: 30px;
    }
    .contact-form h2 { color: #0a2540; margin-bottom: 15px; font-size: 22px; }
    .contact-form p.hint { color: #666; font-size: 14px; margin-bottom: 20px; }
    .form-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 15px;
    }
    .form-group label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        color: #444;
        margin-bottom: 6px;
    }
    .form-group label .req { color: #e74c3c; }
    .form-group input, .form-group select {
        width: 100%;
        padding: 10px 12px;
        border: 2px solid #ddd;
        border-radius: 6px;
        font-size: 14px;
        transition: all 0.2s;
    }
    .form-group input:focus, .form-group select:focus {
        outline: none;
        border-color: #ff6b35;
        box-shadow: 0 0 0 3px rgba(255,107,53,0.15);
    }
    .form-group input.invalid { border-color: #e74c3c; background: #fff5f5; }

    .btn {
        background: linear-gradient(90deg, #ff6b35, #f7931e);
        color: white;
        border: none;
        padding: 12px 30px;
        border-radius: 6px;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        margin-top: 20px;
        transition: transform 0.15s, box-shadow 0.15s;
    }
    .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(255,107,53,0.4); }
    .btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
    .btn-secondary { background: #0a2540; }
    .btn-secondary:hover { box-shadow: 0 6px 15px rgba(10,37,64,0.4); }

    .calculator {
        position: relative;
        opacity: 0.3;
        pointer-events: none;
        filter: blur(2px);
        transition: all 0.5s;
    }
    .calculator.active {
        opacity: 1;
        pointer-events: auto;
        filter: blur(0);
    }
    .calculator h2 { color: #0a2540; margin-bottom: 20px; font-size: 22px; }

    .calc-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 18px;
    }
    .calc-group label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        color: #444;
        margin-bottom: 6px;
    }
    .calc-group select,
    .calc-group input {
        width: 100%;
        padding: 10px 12px;
        border: 2px solid #e0e0e0;
        border-radius: 6px;
        font-size: 14px;
        background: white;
    }
    .calc-group select:focus,
    .calc-group input:focus {
        outline: none;
        border-color: #0a2540;
    }
    .thickness-limit, .calc-hint {
        font-size: 11px;
        color: #888;
        margin-top: 4px;
    }
    .thickness-limit { color: #ff6b35; font-weight: 600; }

    .upload-section {
        margin-top: 25px;
        padding: 20px;
        background: #f8f9fa;
        border-radius: 8px;
        border: 1px solid #e0e0e0;
    }
    .upload-section h3 { color: #0a2540; font-size: 16px; margin-bottom: 5px; }
    .upload-section .upload-hint { color: #666; font-size: 13px; margin-bottom: 15px; }

    .drop-zone {
        border: 2px dashed #b0b8c1;
        border-radius: 10px;
        padding: 30px 20px;
        text-align: center;
        background: white;
        cursor: pointer;
        transition: all 0.25s;
        position: relative;
    }
    .drop-zone:hover { border-color: #ff6b35; background: #fff8f3; }
    .drop-zone.dragover { border-color: #ff6b35; background: #fff0e6; transform: scale(1.01); }
    .drop-zone.has-file { border-style: solid; border-color: #27ae60; background: #f0faf4; }
    .drop-zone.invalid-file { border-color: #e74c3c; background: #fff5f5; animation: shake 0.4s; }
    @keyframes shake {
        0%, 100% { transform: translateX(0); }
        25% { transform: translateX(-6px); }
        75% { transform: translateX(6px); }
    }

    .drop-zone-icon { font-size: 42px; margin-bottom: 8px; }
    .drop-zone-text { font-size: 15px; color: #444; font-weight: 600; margin-bottom: 4px; }
    .drop-zone-subtext { font-size: 12px; color: #888; }
    .drop-zone input[type="file"] {
        position: absolute;
        inset: 0;
        opacity: 0;
        cursor: pointer;
    }

    .file-preview {
        display: none;
        align-items: center;
        gap: 15px;
        padding: 12px;
        background: white;
        border-radius: 8px;
        margin-top: 12px;
        border: 1px solid #d0d7de;
    }
    .file-preview.visible { display: flex; }
    .file-preview-thumb {
        width: 60px; height: 60px;
        border-radius: 6px;
        background: #2980b9;
        display: flex; align-items: center; justify-content: center;
        font-size: 16px; font-weight: 700; color: white;
        flex-shrink: 0;
    }
    .file-preview-info { flex: 1; min-width: 0; }
    .file-preview-name {
        font-size: 14px; font-weight: 600; color: #0a2540;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .file-preview-meta { font-size: 12px; color: #666; margin-top: 3px; }
    .file-preview-remove {
        background: #fee; color: #e74c3c; border: none;
        width: 32px; height: 32px; border-radius: 50%;
        cursor: pointer; font-size: 16px;
    }
    .file-preview-remove:hover { background: #e74c3c; color: white; }

    .geometry-info {
        display: none;
        margin-top: 15px;
        padding: 15px;
        background: #e8f5e9;
        border-left: 4px solid #27ae60;
        border-radius: 6px;
    }
    .geometry-info.visible { display: block; }
    .geometry-info h4 { color: #27ae60; font-size: 14px; margin-bottom: 10px; }
    .geometry-stats {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
    .stat-item {
        background: white;
        padding: 10px;
        border-radius: 6px;
        border: 1px solid #c8e6c9;
    }
    .stat-label {
        font-size: 11px; color: #666;
        text-transform: uppercase; letter-spacing: 0.5px;
    }
    .stat-value {
        font-size: 18px; font-weight: 700;
        color: #0a2540; margin-top: 3px;
    }
    .dxf-meta {
        margin-top: 12px;
        padding: 10px;
        background: #f5f7fa;
        border-radius: 6px;
        font-size: 12px;
        color: #555;
    }
    .dxf-meta strong { color: #0a2540; }

    .manual-edit-hint {
        margin-top: 10px;
        font-size: 12px;
        color: #666;
        font-style: italic;
    }

    .upload-progress {
        display: none;
        margin-top: 10px;
    }
    .upload-progress.visible { display: block; }
    .progress-bar {
        height: 6px;
        background: #e0e0e0;
        border-radius: 3px;
        overflow: hidden;
    }
    .progress-fill {
        height: 100%;
        background: linear-gradient(90deg, #ff6b35, #f7931e);
        width: 0%;
        transition: width 0.3s;
    }
    .progress-text {
        font-size: 12px;
        color: #666;
        margin-top: 5px;
        text-align: right;
    }

    .upload-error {
        display: none;
        margin-top: 10px;
        padding: 14px 16px;
        background: #fff5f5;
        border-left: 4px solid #e74c3c;
        color: #c0392b;
        font-size: 13px;
        border-radius: 4px;
        white-space: pre-line;
        line-height: 1.6;
    }
    .upload-error.visible { display: block; }
    .upload-error .error-title {
        font-weight: 700;
        font-size: 14px;
        margin-bottom: 8px;
        display: block;
    }
    .upload-error .error-hint {
        background: #fff;
        border: 1px solid #f5c6c6;
        border-radius: 6px;
        padding: 10px 12px;
        margin-top: 10px;
        font-size: 12px;
        color: #444;
        line-height: 1.7;
    }
    .upload-error .error-hint strong {
        color: #0a2540;
        display: block;
        margin-bottom: 5px;
    }
    .upload-error code {
        background: #f5f5f5;
        padding: 1px 6px;
        border-radius: 3px;
        font-size: 11px;
        color: #c7254e;
        font-family: 'Consolas', monospace;
    }

    .result {
        margin-top: 30px;
        background: linear-gradient(135deg, #0a2540, #1e3a5f);
        color: white;
        padding: 25px;
        border-radius: 10px;
        display: none;
    }
    .result.visible { display: block; animation: slideIn 0.4s; }
    @keyframes slideIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .result h3 { color: #ff6b35; margin-bottom: 15px; font-size: 18px; }
    .result-row {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        font-size: 14px;
    }
    .result-row:last-child { border-bottom: none; }
    
    .result-row.time-row {
        background: rgba(39, 174, 96, 0.15);
        margin: 0 -15px;
        padding: 8px 15px;
        border-bottom: 1px solid rgba(39,174,96,0.3);
        color: #a8e6cf;
        font-weight: 600;
    }

    .result-total {
        margin-top: 15px;
        padding-top: 15px;
        border-top: 2px solid #ff6b35;
        font-size: 22px;
        font-weight: 700;
        text-align: right;
    }
    .result-total span { color: #ff6b35; }

    .actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }

    .lock-overlay {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(10, 37, 64, 0.85);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        z-index: 10;
        color: white;
        text-align: center;
        padding: 20px;
    }
    .lock-overlay.hidden { display: none; }
    .lock-content .lock-icon { font-size: 48px; margin-bottom: 10px; }
    .lock-content h3 { font-size: 20px; margin-bottom: 8px; }
    .lock-content p { opacity: 0.85; font-size: 14px; }

    .status-badge {
        display: inline-block;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        margin-left: 10px;
    }
    .status-locked { background: #e74c3c; color: white; }
    .status-unlocked { background: #27ae60; color: white; }

	
	
.calc-group select, .calc-group input{
	background: inherit !important;
	width: 100% !important;
	height: 44px;
}
	