/* assets/css/style.css */
:root {
    --primary-blue: #1E73BE;
    --light-blue: #90C0EA;
    --cream: #FCF5D5;
    --red: #B11026;
    --gold: #9F825B;
    --text-dark: #333;
    --white: #ffffff;
    --font-family: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-family);
    background-color: var(--cream);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 480px;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-height: 100vh;
    box-sizing: border-box;
}

@media (min-width: 500px) {
    .container {
        min-height: auto;
        margin-top: 40px;
        margin-bottom: 40px;
        border-radius: 12px;
    }
}

a {
    word-break: break-all;
}

h1,
h2,
h3 {
    color: var(--primary-blue);
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-blue);
}

input[type="text"],
input[type="password"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--light-blue);
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    box-sizing: border-box;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn:hover {
    background-color: #165a96;
}

.btn-secondary {
    background-color: var(--light-blue);
    color: var(--primary-blue);
}

.star-rating {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.star {
    font-size: 40px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.star.active {
    color: var(--gold);
}

.animator-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.animator-card {
    border: 2px solid var(--light-blue);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.animator-card.selected {
    background-color: var(--light-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.animator-card input {
    display: none;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hidden {
    display: none;
}