/* -----------------------------
   Global Styling
----------------------------- */

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

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f6f9;
    color: #333;
    padding: 40px;
}

/* -----------------------------
   Main Container
----------------------------- */

.container {
    max-width: 1100px;
    margin: auto;
}

h1 {
    text-align: center;
    margin-bottom: 10px;
    color: #1f2937;
}

body p {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
}

/* -----------------------------
   Demo Buttons
----------------------------- */

.demo-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.demo-buttons button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.25s;
}

.demo-buttons button:hover {
    transform: translateY(-2px);
}

.low-risk-btn {
    background-color: #22c55e;
}

.medium-risk-btn {
    background-color: #eab308;
    color: black;
}

.high-risk-btn {
    background-color: #ef4444;
}

/* -----------------------------
   Form Card
----------------------------- */

.form-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0px 5px 20px rgba(0,0,0,0.1);
}

/* -----------------------------
   Section Titles
----------------------------- */

h2 {
    margin-top: 30px;
    margin-bottom: 20px;
    color: #1f2937;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 8px;
}

h2:first-of-type {
    margin-top: 0;
}

/* -----------------------------
   Grid Layout
----------------------------- */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* -----------------------------
   Individual Fields
----------------------------- */

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 6px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
}

/* -----------------------------
   Predict Button
----------------------------- */

.predict-btn {
    width: 100%;
    margin-top: 35px;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background-color: #2563eb;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.25s;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.predict-btn:hover {
    background-color: #1d4ed8;
}

ul {
    margin-top: 15px;
    padding-left: 25px;
}

li {
    margin-bottom: 10px;
}


/* -----------------------------
   Mobile
----------------------------- */

@media (max-width: 768px) {

    .form-grid {
        grid-template-columns: 1fr;
    }

    .demo-buttons {
        flex-direction: column;
    }

}

.churn {
    color: #dc2626;
}

.stay {
    color: #16a34a;
}