body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
}

.flex{
    display: flex;
    align-items: center;
}

/* INPUT CONTAINER */
.inputCont {
    margin-bottom: 18px;
}

.inputCont label {
    font-size: 13px;
    color: #555;
}

.inputCont input, .inputCont select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    outline: none;
    transition: 0.3s;
}

.inputCont input:focus, .inputCont select:focus {
    border-color: gold;
    box-shadow: 0 0 8px rgba(212,175,55,0.3);
}

/* BUTTON (wealth/luck accent) */ 
.btn-primary {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #b30000, #d4af37);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-secondary {
    padding: 12px 20px;
    background: #f2f2f2;
    color: #333;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-secondary:hover {
    opacity: 0.9;
}

/* ALERTS */
.alert {
    padding: 10px;
    margin-top: 10px;
    border-radius: 8px;
    font-size: 14px;
}

.alert.success {
    background: #e6ffed;
    border-left: 4px solid #2ecc71;
}

.alert.error {
    background: #ffe6e6;
    border-left: 4px solid #e74c3c;
}

.alert.errors {
    background: #ffe6e6;
    border-left: 4px solid #e74c3c;
}

/* FORM */
.form {
    flex: 1;
    padding: 40px;
    background: #ffffff;
}

/* CARD */
.card {
    display: flex;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    background: white;
}

.card > form {
    flex: 1;
    min-width: 0;
    width: 100%;
}

/* TITLE lucky title styling */
.form h2 {
    color: #b30000;
    /* red = luck */
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
}

.form h2::after {
    content: "";
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, gold, #b30000);
    position: absolute;
    bottom: -8px;
    left: 0;
    border-radius: 5px;
}

/* ===== Links ===== */
.form-footer a {
    color: #b30000;
    text-decoration: none;
}

.form-footer a:hover {
    color: #d4af37;
}

/* PAGINATION */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Page links */
.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: all 0.2s ease-in-out;
}

/* Hover */
.pagination a:hover {
    background: #f2f2f2;
    border-color: #bbb;
}

/* Active page */
.pagination .active {
    background: #2d6cdf;
    color: #fff;
    border-color: #2d6cdf;
    font-weight: 600;
}

/* Disabled */
.pagination .disabled {
    opacity: 0.5;
    pointer-events: none;
    background: #eee;
}

/* Prev / Next emphasis */
.pagination .prev,
.pagination .next {
    font-weight: 500;
}
.pagination .prev:hover,
.pagination .next:hover {
    background: #e9e9e9;
}