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

/* BODY */
body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #eef2ff, #f8fafc);
    color: #1e293b;
}

/* WRAPPER */
.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* HEADER */
header {
    text-align: center;
    padding: 25px 10px;
}

header h1 {
    color: #2563eb;
    font-size: 30px;
}

header p {
    font-size: 14px;
    color: #64748b;
}

/* MAIN */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* CARD */
.card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.result-card {
    max-width: 600px;
}

/* HEADINGS */
.card h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #2563eb;
}

h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

/* FORM */
label {
    font-size: 14px;
    margin-top: 10px;
    display: block;
    color: #475569;
}

input, select {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    outline: none;
    transition: 0.3s;
}

input:focus, select:focus {
    border-color: #2563eb;
}

/* BUTTON */
button {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    background: #2563eb;
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #1d4ed8;
}

/* URL BOX */
.url-box {
    background: #f1f5f9;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.url-box span {
    word-break: break-all;
    font-size: 14px;
}

/* RESULT */
.result-box {
    margin: 20px 0;
    text-align: center;
}

.status {
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
}

.status.good {
    background: #dcfce7;
    color: #166534;
}

.status.bad {
    background: #fee2e2;
    color: #991b1b;
}

/* TABLE */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 10px;
    text-align: center;
}

th {
    background: #f1f5f9;
}

td {
    border-bottom: 1px solid #e5e7eb;
}

/* RESULT COLORS */
.result-good {
    color: #16a34a;
    font-weight: bold;
}

.result-bad {
    color: #dc2626;
    font-weight: bold;
}

/* BACK BUTTON */
.back-btn {
    display: block;
    text-align: center;
    margin-top: 20px;
    text-decoration: none;
    color: #2563eb;
    font-weight: bold;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 10px;
    font-size: 12px;
    color: #64748b;
}


/* THEME TOGGLE SWITCH */
.theme-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 50px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.4s;
}

input:checked + .slider {
    background-color: #2563eb;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.logo-big {
    width: 70px;
    margin-bottom: 10px;
}


header {
    text-align: center;
    padding: 30px 10px 10px;
}

.logo-big {
    width: 100px;
    margin-bottom: 10px;
}

header h1 {
    font-size: 30px;
    color: #2563eb;
}

header p {
    font-size: 14px;
    color: #64748b;
}


@media (max-width: 600px) {
    .logo-big {
        width: 80px;
    }
}
@media (max-width: 600px) {
    .container {
        padding: 15px;
    }
}