/* Global Reset & Typography */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f7f6;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header - Updated for Logo */
header {
    background-color: #fff;
    padding: 15px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    
    /* Flexbox settings to align Logo and Text */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; /* Space between logo and text */
}

header h1 { 
    font-weight: 600; 
    color: #2c3e50; 
    margin: 0; 
}

/* Logo Sizing */
.logo-img {
    height: 50px; /* Adjust height as needed */
    width: auto;
}

/* Main Container */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

/* Card/Form Styling */
.card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 450px;
}

.wide-card { max-width: 800px; }

/* Form Fields - Curved & Modern */
.form-group { margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; font-weight: 500; color: #555; }
input, select {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 25px; /* The requested curved look */
    font-size: 16px;
    transition: border 0.3s;
}
input:focus { border-color: #4a90e2; outline: none; }

/* Buttons */
.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 25px;
    background-color: #2c3e50;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}
.btn:hover { background-color: #34495e; }

/* Links */
.links { text-align: center; margin-top: 15px; font-size: 14px; }
.links a { color: #4a90e2; text-decoration: none; margin: 0 10px; }

/* Timeclock Specifics */
#digital-clock {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
}
.employee-header { text-align: center; color: #777; margin-bottom: 30px; }

/* Tables */
.time-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid #eee; }
th { background-color: #f8f9fa; }

/* Footer - Sticky & Specific Text */
footer {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #eaeaea;
    margin-top: auto;
}
.powered-by { font-size: 0.9rem; color: #666; margin-bottom: 5px; }
.copyright { font-size: 0.8rem; color: #999; }
