/* Base body styling */
body {
    font-family: Arial, sans-serif;
    background: #f2f2f2;
    margin: 0;
    padding: 0;
    color: #232323;
    font-size: 0.95em;
    height: 100vh;              /* Full viewport height */
    display: flex;              /* Enable flexbox */
    align-items: center;        /* Center vertically */
    justify-content: center;    /* Center horizontally */
}

/* Main container styling */
.div-main {
    width: 400px;               /* Fixed width for a smaller container */
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    text-align: center;
}

/* Responsive image styling within the container */
.div-main img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

/* Error message styling */
.demo-error {
    color: #FF0000;
    font-size: 0.95em;
}

/* Input field styling */
.demo-input {
    width: 100%;
    border: 1px solid #CCC;
    padding: 12px;
    margin-top: 5px;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Button styling */
.demo-btn {
    padding: 12px;
    border-radius: 5px;
    background: #3a2fb8;
    border: none;
    color: #FFF;
    width: 100%;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 10px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.demo-btn:hover {
    background: #2a1e94;
}

/* Table layout for form elements */
.demo-table {
    width: 100%;
    border-collapse: collapse;
}

/* Success message styling */
.demo-success {
    margin-top: 5px;
    color: #478347;
    background: #e2ead1;
    padding: 10px;
    border-radius: 5px;
}
