@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;500;700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    background-color: #ffffff;
    width: 100%;
    max-width: 420px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    color: #2d3436;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 5px;
}

header p {
    color: #636e72;
    font-size: 14px;
    font-weight: 300;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 13px;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group input {
    width: 100%;
    padding: 14px;
    border: 2px solid #edf2f7;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: #f7fafc;
}

.input-group input:focus {
    border-color: #764ba2;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(118, 75, 162, 0.1);
    outline: none;
}

.input-group small {
    display: block;
    margin-top: 5px;
    color: #a0aec0;
    font-size: 11px;
    font-style: italic;
}

.btn-calculate {
    width: 100%;
    padding: 16px;
    background: linear-gradient(to right, #667eea, #764ba2); 
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

.btn-calculate:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(118, 75, 162, 0.3);
}

.result-card {
    margin-top: 30px;
    padding: 25px;
    background: #f0fff4;
    border-radius: 15px;
    border: 1px dashed #48bb78;
    text-align: center;
    animation: popUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popUp {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.result-card h3 {
    color: #276749;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: 600;
}

.final-price {
    font-size: 36px;
    font-weight: 800;
    color: #22543d;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.details {
    text-align: left;
    background: rgba(255,255,255,0.6);
    padding: 15px;
    border-radius: 10px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
    color: #4a5568;
}

.green-text { color: #2f855a; font-weight: bold; }
.red-text { color: #c53030; font-weight: bold; }

footer {
    text-align: center;
    margin-top: 30px;
    font-size: 11px;
    color: #a0aec0;
    line-height: 1.5;
}

.team-card {
    background: #f0f4f8;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    position: relative;
}

.team-card:hover {
    background: #e2e8f0;
    border-color: #764ba2;
    transform: translateX(5px);
}

.click-hint {
    float: right;
    font-size: 10px;
    color: #764ba2;
    font-weight: bold;
    opacity: 0.7;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(3px);
    animation: fadeIn 0.3s;
}

.modal-content {
    background: white;
    padding: 30px;
    width: 90%;
    max-width: 350px;
    border-radius: 20px;
.profile-pic-small {
    width: 80px; 
    height: 80px;
    border-radius: 50%;
    object-fit: cover; 
    border: 3px solid #764ba2; 
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
#p-foto {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 4px solid #764ba2 !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 20px !important;
}
.modal-content {
    overflow: hidden; 
    max-width: 320px !important;
}
