/* ----------------------------
   GLOBAL VARIABLES
----------------------------- */
:root{
  --bg: #ffffff;
  --page-bg: #f4f6f8;
  --primary: #0a66c2;
  --button-grad-start: #0078ff;
  --button-grad-end: #0060d6;
  --button-text: #ffffff;
  --card-shadow: rgba(20,30,40,0.08);
}

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

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--page-bg);
    padding: 20px;
    color: #111;
}

/* ----------------------------
   CONTAINERS
----------------------------- */
.container {
    max-width: 900px;
    margin: auto;
    background: var(--bg);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 14px var(--card-shadow);
}

/* ----------------------------
   HEADINGS
----------------------------- */
h1, .big-title {
    text-align: center;
    font-size: 30pt;
    font-weight: bold;
    margin-bottom: 20px;
}

h2 {
    font-size: 20pt;
    margin-top: 25px;
    margin-bottom: 10px;
}

/* ----------------------------
   LINKS — prevent visited color change
----------------------------- */
a,
a:link,
a:visited,
a:hover,
a:active,
a:focus {
    color: var(--primary);
    text-decoration: none;
}

/* hover underline for clarity */
a:hover { text-decoration: underline; }

/* ----------------------------
   BUTTONS
----------------------------- */
.button-link,
.button-link:link,
.button-link:visited,
.button-link:hover,
.button-link:active,
.button-link:focus {
    background: linear-gradient(180deg, var(--button-grad-start), var(--button-grad-end));
    color: var(--button-text) !important;
    padding: 12px 20px;
    border-radius: 8px;
    display: inline-block;
    font-size: 16px;
    text-decoration: none !important;
    cursor: pointer;
    user-select: none;
}

.button-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.button-link:active {
    transform: translateY(0px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.10);
}

/* ----------------------------
   TABLES
----------------------------- */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

td, th {
    padding: 12px 10px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 16px;
}

th {
    background: #f0f3f7;
    font-weight: bold;
}

/* tighter layout for domain + price */
td:first-child {
    width: 55%;
}

td:nth-child(2) {
    width: 25%;
    font-weight: bold;
}

/* ----------------------------
   FORM STYLING — FIX FOR MESSAGE BOX
----------------------------- */
form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

form input,
form textarea {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    border: 1px solid #d5d7db;
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
}

form textarea {
    min-height: 130px;
}

/* ----------------------------
   RESPONSIVE DESIGN
----------------------------- */
@media (max-width: 600px) {
    .container {
        padding: 16px;
    }

    td, th {
        font-size: 14px;
    }

    .button-link {
        width: 100%;
        text-align: center;
        padding: 14px;
    }
}
