@import url('https://fonts.googleapis.com/css2?family=Jersey+10&display=swap');

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

html {
    min-height: 100vh;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    /* background: linear-gradient(135deg, #000 0%, #764ba2 100%); */
    background-image:url('/images/chonkhead.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color:#000;
    min-height: 100vh;
    padding: 1em;
    color: #fff;
    display:grid;
    place-items: center;
}

.container {
    /* width: 600px; */
    max-width: 100%;
    /* margin: 0 auto; */
}

header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

main {
    /* background: white; */
    border-radius: 0; /*16px;*/
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background-color: rgba(0, 0, 0, 0.5);
}

.input-section {
    margin-bottom: 30px;
}

label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

input[type="number"] {
    width: 100%;
    padding: 16px;
    font-size: 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 0; /*8px;*/
    transition: border-color 0.3s;
}

input[type="number"]:focus {
    outline: none;
    border-color: #000;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
}

.error-message {
    color: #e53e3e;
    font-size: 0.9rem;
    margin-top: 8px;
    min-height: 20px;
}

.assumption-banner {
    background: #fef5e7;
    border-left: 4px solid #f39c12;
    padding: 12px 16px;
    margin-bottom: 30px;
    border-radius: 0; /*4px;*/
    font-size: 0.95rem;
    color: #856404;
}

.info-tooltip {
    cursor: help;
    margin-left: 5px;
}

.output-section {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.output-section.visible {
    display: grid;
}

.output-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 0; /*12px;*/
    border: 1px solid #e9ecef;
    position: relative;
}

.output-card h2 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    margin-bottom: 12px;
    font-weight: 600;
}

.output-value {
    font-size: 1.1rem;
    color: #212529;
    word-wrap: break-word;
    line-height: 1.5;
}

.output-value.mono {
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}

.timezone-offset {
    font-size: 0.95rem;
    color: #6c757d;
    margin-top: 5px;
}
#timezoneName {
    color: #6c757d;
}

.copy-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #000;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 0; /*6px;*/
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s;
}

.copy-btn:hover {
    background: #5568d3;
}

.copy-btn:active {
    transform: scale(0.95);
}

.copy-btn.copied {
    background: #48bb78;
}

footer {
    text-align: center;
    margin-top: 30px;
    color: white;
    opacity: 0.9;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    main {
        /* padding: 24px; */
    }

    .output-section {
        grid-template-columns: 1fr;
    }
}

a {
    color:#efb15e;
}
