/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : Jun 11, 2025, 10:25:32 AM
    Author     : qualebs
*/

/* Reset */
:root{
    --red:#f15f5e;
    --green:#28a745;
    --white:#ffffff;
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
a:link,
a:visited {
    color: inherit; /* or a specific color like black */
    text-decoration: none; /* optional: remove underline */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.mobile{
    display: none;
}
.desktop{
    display: flex;
}
/*form and form fields*/

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.form--input-group {
    display: flex;
    flex-direction: column;
    width: 50%;
    padding: 0px 10px;
    box-sizing: border-box;
    justify-content: flex-end;
}
.form--controls {
    display: inline-flex;
    column-gap: 20px;
    align-items: center;
    width: 100%;
    flex-direction: column;
}
.form--input-group.width-100 {
    width: 100%;
}
.form--lbl-content {
    font-family: Avenir;
    font-size: 15px;
    height: 14px;
    font-weight: 500;
    line-height: 19px;
    letter-spacing: 0em;
    display: flex;
    align-items: baseline;
    column-gap: 4px;
    height: 20px;
}
.form--error-lbl {
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: #F15F5E;
    margin-top: 8px;
    display: flex;
    opacity: 0;
}
input[type="text"],
input[type="number"],
input[type="file"],
input[type="email"],
input[type="password"],
textarea {
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.input--error {
    border: 1px solid var(--red);
    color: var(--red);
}
input:disabled {
    background-color: #f0f0f0;
    cursor: not-allowed;
    border: 1px solid #ccc;
    color: #888;
}
/*form and form fields*/

/*style for buttons*/

.btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}

/* Primary */
.btn-primary {
    background-color: #007BFF;
    color: white;
}
.btn-primary:hover {
    background-color: #0056b3;
}

/* Secondary */
.btn-secondary {
    background-color: #6c757d;
    color: white;
}
.btn-secondary:hover {
    background-color: #5a6268;
}

/* Success */
.btn-success {
    background-color: #28a745;
    color: white;
}
.btn-success:hover {
    background-color: #218838;
}

/* Danger */
.btn-danger {
    background-color: #dc3545;
    color: white;
}
.btn-danger:hover {
    background-color: #c82333;
}

/* Outline Secondary */
.btn-outline-secondary {
    background-color: transparent;
    border: 1px solid #6c757d;
    color: #6c757d;
}
.btn-outline-secondary:hover {
    background-color: #6c757d;
    color: white;
}

/* Disabled */
.btn:disabled,
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/*style for buttons*/

.form-group{
    display: flex;
}
.form-group input:invalid {
    border-color: var(--red);
}

.form-group input.valid {
    border-color: var(--green);
}
/*style for error messages*/

.error-message.visible {
    display: flex;
}
.error-message {
    color: red;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    display: none;
}

/*style for error messages*/


/* Main content */
main {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    flex: 1;
}

.section-page{
    width: 100%;
    justify-content: center;
    display: flex;
    flex-direction: column;
}
.section-inner{
    width: 100%;
    max-width: 1040px;
    display: flex;
    margin: auto;
    flex-direction: column;
    align-content: center;
}


/*tier badges*/

.tier-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: bold;
    color: white;
    background: #555;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.tier-premium {
    background-color: gold;
    color: #000;
}

.tier-regular {
    background-color: #4CAF50;
    color: #fff;
}

.tier-free {
    background-color: #888;
    color: #fff;
}

.tier-featured {
    background-color: #007bff;
    color: #fff;
}
/*end tier badges*/


/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1.5rem 1rem;
}

footer .footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

footer a {
    color: white;
    text-decoration: none;
}

@media (min-width: 1px) and (max-width: 762px) {
    .mobile{
        display: flex;
    }
    .desktop{
        display: none;
    }

}

/* Responsive styles */
@media (min-width: 768px) {

    .footer-links {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }

    .search-bar {
        max-width: 400px;
    }
}
