html, body {
    background: linear-gradient(to bottom, #f3f4f6, #d1d5db);
    font-family: 'Raleway', sans-serif;
    color: #4b5563;
    font-weight: 100;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

.full-height {
    height: 100vh;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.position-ref {
    position: relative;
}

.top-left {
    position: absolute;
    left: 40px;
    top: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-right {
    position: absolute;
    right: 40px;
    top: 40px;
}

.main-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    padding: 20px;
}

.attendance-form {
    max-width: 500px;
    text-align: center;
    transition: all 0.3s ease;
}

@media (max-width: 912px) {
    .main-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        margin-top: 100px;
    }

    .hero-content {
        text-align: center;
        transform: translateY(0);
        margin-bottom: 50px;
    }

    .attendance-form {
        margin: 0 auto;
        transform: none;
    }

    .links.inline {
        display: none;
    }
}

@media (min-width: 1270px) {
    .main-container {
        gap: 20rem;
    }
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.input-field {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    outline: none;
    font-size: 1rem;
    background-color: #f3f4f6;
    color: #2d2e30;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.input-field::placeholder {
    font-size: 0.95rem;
}

.input-field:focus {
    border-color: #6b7280;
    box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.2);
    background-color: #ffffff;
}

.input-field:disabled {
    background-color: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
}

.show-pin-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    font-size: 1.2rem;
}

.show-pin-btn:hover {
    color: #374151;
}

.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    width: 100%;
    background-color: rgba(107, 114, 128, 0.4);
    color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Raleway', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(4px);
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.btn-primary:hover {
    background-color: rgba(107, 114, 128, 0.6);
    color: rgba(255, 255, 255, 0.9);
}

.input-field, .btn-primary {
    box-sizing: border-box;
}

.title {
    font-size: 56px;
    color: #1f2937;
}

.subtitle {
    font-size: 18px;
    font-weight: 400;
    color: #1a202c;
    margin-top: 20px;
    text-align: center;
}

.links > a {
    color: #4b5563;
    padding: 0 15px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.links > a:hover {
    color: #1a1918;
}

.links.inline a {
    color: #4b5563;
    padding: 0 15px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.links.inline a:hover {
    color: #1a1918;
}

.hero-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-links a {
    color: #4b5563;
    padding: 0 15px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.hero-links a:hover {
    color: #1a1918;
}

.m-b-md {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

#time-worked {
    font-size: 1.2rem;
    font-weight: bold;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    padding: 0.75rem;
    border: 1px solid #34d399;
    border-radius: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.alert-error {
    background-color: #fee2e2;
    color: #b91c1c;
    padding: 0.75rem;
    border: 1px solid #fca5a5;
    border-radius: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
