.tech-calc {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 20px 0;
    padding: 20px;
    min-height: 80vh;
    color: #2c3e50;
    border-radius: 20px;
}

.tech-calc .container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.tech-calc h1,
.tech-calc h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.tech-calc h1 {
    font-size: 2.5em;
}

.tech-calc .input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.tech-calc label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.tech-calc input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.tech-calc input:focus {
    border-color: #667eea;
    outline: none;
}

.tech-calc button {
    background: #6c5ce7;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
    width: 100%;
    margin-top: 10px;
}

.tech-calc button:hover {
    background: #5b4cc4;
    transform: translateY(-2px);
}

.tech-calc .results {
    margin-top: 30px;
    display: none;
}

.tech-calc .total-days {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    color: #2d3436;
}

.tech-calc .tech-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tech-item {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.tech-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.tech-name {
    font-weight: bold;
    font-size: 1.2em;
}

.tech-percent {
    font-weight: bold;
    color: #6c5ce7;
}

.tech-bar-bg {
    height: 12px;
    background: #eee;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}

.tech-bar-fill {
    height: 100%;
    background: var(--bar-color, #6c5ce7);
    border-radius: 6px;
    transition: width 1s ease-out;
}

.tech-details {
    font-size: 0.9em;
    color: #636e72;
}

@media (min-width: 600px) {
    .tech-calc .input-group {
        flex-direction: row;
        align-items: flex-end;
    }

    .tech-calc .input-field {
        flex: 1;
    }

    .tech-calc button {
        width: auto;
        min-width: 200px;
        margin: 0 auto;
        display: block;
    }
}
