* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", sans-serif;
}

body {
    min-height: 100vh;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
}

.wrapper {
    width: 100%;
    padding: 20px;
    max-width: 420px;
}

.app-card {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    backdrop-filter: blur(18px);
    padding: 30px;
    border-radius: 22px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
}

.brand {
    text-align: center;
    margin-bottom: 25px;
}

.brand img {
    width: 70px;
    margin-bottom: 10px;
}

.brand h1 {
    font-size: 22px;
    margin-bottom: 5px;
    font-weight: 600;
}

.brand p {
    font-size: 13px;
    opacity: 0.75;
}

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

label {
    font-size: 14px;
    opacity: 0.85;
}

input[type="time"] {
    width: 100%;
    text-align: center;
    padding: 12px;
    margin-top: 8px;
    border-radius: 12px;
    border: none;
    font-size: 23px;
    outline: none;
    background: rgba(255,255,255,0.15);
    color: #ffffff;
}

input[type="time"]:focus {
    background: rgba(255,255,255,0.25);
}

.toggle-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.toggle-group input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

button:active {
    transform: scale(0.98);
}

.result-box {
    margin-top: 25px;
    padding: 20px;
    background: rgba(255,255,255,0.07);
    border-radius: 16px;
    text-align: center;
}

.result-box span {
    font-size: 13px;
    opacity: 0.75;
}

.result-box h2 {
    margin-top: 10px;
    font-size: 26px;
    letter-spacing: 2px;
    color: #38bdf8;
    transition: all 0.3s ease;
}

.copy-btn {
    margin-top: 14px;
    padding: 10px;
    border-radius: 12px;
    border: none;
    background: #0ea5e9;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.copy-btn:hover {
    background: #0284c7;
    transform: translateY(-1px);
}

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

.animate {
    animation: pop 0.35s ease;
}

.footer-text {
    margin-top: 25px;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.3px;
    color: #9ca3af;
}


@keyframes pop {
    0% {
        transform: scale(0.85);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 400px) {
    .app-card {
        padding: 22px;
    }

    .result-box h2 {
        font-size: 22px;
    }
}
