* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    background-color: #f5f7fa;
    color: #2c3e50;
    min-height: 100vh;
    padding: 2rem;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.input-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f8fafc;
    border-radius: 8px;
}

.input-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4a5568;
    font-weight: 500;
}

input[type="number"],
input[type="time"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

input[type="number"]:focus,
input[type="time"]:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

button {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: #4299e1;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #3182ce;
}

.display-section {
    text-align: center;
    padding: 2rem;
    background-color: #f8fafc;
    border-radius: 8px;
}

.current-earnings {
    margin-bottom: 2rem;
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2c5282;
    margin: 1rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.status {
    color: #718096;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.rates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.rate-item {
    padding: 1rem;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.rate-label {
    color: #718096;
    font-size: 0.9rem;
}

#hourlyRate,
#minuteRate,
#secondRate {
    display: block;
    color: #2c5282;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.lunch-break-times {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

@media (max-width: 640px) {
    body {
        padding: 1rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .amount {
        font-size: 2.5rem;
    }
} 