@import url(https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap);
/* Imports the Inter font from Google Fonts */

/* Global and layout styles */
body {
    zoom: 0.8;
    font-family: 'Inter', sans-serif;
    background-color: #b9d2f3;
    color: #1a202c;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
header {
    background-color: #1d4ed8;
    border-radius: 0;
    color: white;
    padding: 2rem 1rem;
    text-align: center;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
header p {
    font-size: 1.25rem;
    font-weight: 400;
}
main {
    flex-grow: 1;
    padding: 2rem 1rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.frame {
    max-width: 960px;
    width: 100%;
}

.app-selection {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

/* Language selector styles */
.optionContainer {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.optionContainer label {
    color: #e2e8f0;
    font-size: 0.875rem;
}
.optionContainer select {
    background-color: #2b6cb0;
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.875rem;
}

/* App card styles */
.app-card {
    background-color: #dbeafe;
    border-radius: 10px;
    max-width: 100%;    
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;    
    gap: 14px;
    padding: 20px 16px;
    border: 0.5px solid #bfdbfe;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.app-card h2 {
    font-size: 1.3rem;
    margin: 0 0 6px;
    font-weight: 600;
}

.app-card p {
    height: auto;
    margin: 0 0 8px;
    font-size: 0.95rem;
    color: #2a303b;
}

.btn {
    background-color: #4299e1;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    display: inline-block;
}
.btn:hover {
    background-color: #3182ce;
}

/* Footer styles */
footer {
    background-color: white;
    border-top: 1px solid #bfdbfe;
    border-radius: 0;
    text-align: center;
    padding: 1.5rem 1rem;
}

/* Responsiveness */
@media (max-width: 640px) {
    .app-selection {
        flex-direction: column;
        align-items: center;
    }
}

/* ==================== LOGIN FORM ==================== */
#loginBox {
    animation: fadeIn 0.3s ease;
}

.input-group {
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 14px 16px 6px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.input-group input:focus {
    border-color: #3182ce;
    outline: none;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.12);
}

.input-group label {
    position: absolute;
    left: 16px;
    top: 14px;
    font-size: 1.05rem;
    color: #718096;
    pointer-events: none;
    transition: all 0.25s ease;
    background: #fff;
    padding: 0 5px;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
    top: -8px;
    font-size: 0.85rem;
    color: #3182ce;
    font-weight: 500;
}

.btn-primary {
    background-color: #3182ce;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: #2b6cb0;
}

.btn-secondary {
    background-color: transparent;
    color: #3182ce;
    border: 2px solid #3182ce;
    padding: 14px;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #f0f4f8;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-15px); }
    to   { opacity: 1; transform: translateY(0); }
}
