/* ===== BASE ===== */

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top, #001d3d 0%, #000814 70%);
    color: #e6f1ff;
}

/* ===== CONTAINER ===== */

.container {
    width: 92%;
    max-width: 1200px;
    margin: 60px auto;
}

/* ===== ROW LAYOUT ===== */

.row {
    display: flex;
    gap: 25px;
    align-items: stretch;
}

/* ===== CARD DESIGN ===== */

.card {
    flex: 1;
    background: rgba(0, 25, 60, 0.85);
    padding: 35px;
    border-radius: 18px;
    backdrop-filter: blur(6px);
    box-shadow:
        0 10px 25px rgba(0, 119, 255, 0.15),
        inset 0 0 15px rgba(0, 119, 255, 0.05);
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 15px 35px rgba(0, 119, 255, 0.25),
        inset 0 0 20px rgba(0, 119, 255, 0.1);
}

/* ===== FULL WIDTH BOX ===== */

.full-width {
    margin-top: 50px;
}

/* ===== HEADINGS ===== */

h2, h3 {
    margin-top: 0;
    font-weight: 600;
}

/* ===== MODERN BUTTONS ===== */

button {
    background: linear-gradient(135deg, #0077ff, #00b4ff);
    border: none;
    padding: 12px 22px;
    color: white;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 5px 15px rgba(0, 119, 255, 0.3);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 180, 255, 0.45);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 119, 255, 0.3);
}

/* ===== INPUTS ===== */

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(0,119,255,0.3);
    background: rgba(0, 20, 50, 0.9);
    color: white;
    margin-bottom: 15px;
    font-size: 14px;
}

/* ===== TEXTAREA ===== */

textarea {
    width: 100%;
    height: 420px;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(0,119,255,0.4);
    background: rgba(0, 20, 50, 0.95);
    color: #e6f1ff;
    font-size: 15px;
    line-height: 1.7;
    resize: vertical;
    outline: none;
    transition: 0.3s ease;
}

textarea:focus {
    border-color: #00b4ff;
    box-shadow: 0 0 15px rgba(0, 180, 255, 0.4);
}

/* ===== LINKS ===== */

a {
    text-decoration: none;
}

/* ===== TOP NAV ===== */

.top-nav {
    width: 92%;
    max-width: 1200px;
    margin: 20px auto 0 auto;
    display: flex;
    justify-content: flex-start;
}

/* ===== FOOTER ===== */

.footer {
    width: 92%;
    max-width: 1200px;
    margin: 80px auto 40px auto;
    text-align: center;
}

/* ===== SECONDARY BUTTON ===== */

.secondary-btn {
    background: transparent;
    border: 1px solid rgba(0, 180, 255, 0.5);
    color: #00b4ff;
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s ease;
}

.secondary-btn:hover {
    background: rgba(0, 180, 255, 0.1);
    box-shadow: 0 0 12px rgba(0, 180, 255, 0.3);
}

/* ===== DANGER BUTTON ===== */

.danger-btn {
    background: linear-gradient(135deg, #b00020, #ff1744);
    border: none;
    padding: 12px 25px;
    color: white;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(255, 23, 68, 0.3);
    transition: 0.25s ease;
}

.danger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 23, 68, 0.45);
}

/* ========================= */
/* MOBILE RESPONSIVE DESIGN  */
/* ========================= */

@media (max-width: 900px) {

    .row {
        flex-direction: column;
    }

    .card {
        margin-bottom: 20px;
        padding: 28px;
    }

    .container {
        margin: 30px auto;
    }

    textarea {
        height: 320px;
        font-size: 14px;
    }

    button {
        width: 100%;
        margin-bottom: 10px;
    }

    .top-nav {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .top-nav div {
        margin-left: 0 !important;
        width: 100%;
    }

    .top-nav button {
        width: 100%;
    }
}