@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at center, #1e1e2f, #0a0a0c);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.main-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 1100px;
    width: 100%;
}

.panels-container {
    display: grid;
    grid-template-columns: 200px 1fr 280px;
    gap: 20px;
    align-items: stretch;
}

.container, .side-panel, .stat-card, .edu-card {
    background: rgba(43, 43, 64, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.info-panel {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.stat-card .icon {
    font-size: 22px;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 8px #00d2ff);
}

.stat-card h4 {
    font-size: 10px;
    color: #00d2ff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 16px;
    font-weight: 700;
}

.container {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h1 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
    color: #00d2ff;
    font-weight: 700;
}

input[type="text"] {
    width: 100%;
    padding: 18px;
    margin-bottom: 25px;
    background: #151522;
    border: 2px solid #3d3d5c;
    border-radius: 12px;
    color: #00ff88;
    text-align: center;
    font-size: 20px;
    font-family: 'Monaco', 'Courier New', monospace;
    outline: none;
    transition: border-color 0.3s;
}

input[type="text"]:focus {
    border-color: #00d2ff;
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #ccc;
    cursor: pointer;
}

input[type="number"] {
    background: #151522;
    border: 1px solid #444;
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    width: 65px;
}

.side-panel {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

h3 {
    font-size: 17px;
    color: #00d2ff;
    margin-bottom: 15px;
}

.strength-meter {
    background: #151522;
    height: 10px;
    border-radius: 5px;
    margin: 15px 0 10px;
    overflow: hidden;
}

#strength-bar {
    height: 100%;
    width: 0%;
    transition: width 0.5s ease, background 0.5s ease;
}

#strength-text {
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}

.divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

.tips-list {
    list-style: none;
    font-size: 13px;
    color: #aaa;
    line-height: 1.6;
}

.tips-list li {
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.tips-list li::before {
    content: "•";
    color: #00d2ff;
    position: absolute;
    left: 0;
}

.buttons {
    display: flex;
    gap: 15px;
}

button {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

#generate {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

#generate:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

#copy {
    background: #3d3d5c;
    color: white;
}

#copy:hover {
    background: #4e4e75;
}

.education-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.edu-card {
    padding: 25px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
}

.edu-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #00d2ff;
    transform: translateY(-5px);
}

.edu-icon {
    font-size: 24px;
    margin-bottom: 12px;
}

.edu-card h3 {
    margin-bottom: 10px;
    font-size: 16px;
}

.edu-card p {
    font-size: 13px;
    color: #bbb;
    line-height: 1.5;
}

@media (max-width: 1000px) {
    .panels-container {
        grid-template-columns: 1fr;
    }
    
    .info-panel {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .education-section {
        grid-template-columns: 1fr;
    }
    
    .info-panel {
        grid-template-columns: 1fr;
    }
}