/* General Reset and Base Styles */
body, h1, h2, h3, p, ul, li, form, input, button {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Modern font */
}

body {
    background: linear-gradient(135deg, #e6f2ff, #f0f8ff); /* Light gradient background */
    color: #333; /* Dark text color */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

/* header styles */
header {
    margin-bottom: 30px;
    text-align: left;
    padding: 10px 0;
}

header h1 {
    font-size: 2.5rem;
    color: #2c3e50; /* Darker header color */
}

/* Navigation (if needed - add this to the html file too if needed */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

nav a:hover {
    color: #0077cc; /* Hover color */
}

/* Main content */
main {
    flex-grow: 1; /* Fill remaining space */
    display: flex;
    flex-direction: column;
    gap: 30px;
}
main section{
    border: 1px solid lightgray;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Typography */
h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

p {
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Form Styling (Assuming there's a form in request.html) */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 500px;
}

label {
    font-weight: 600;
}

input[type="text"],
input[type="email"],
textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #0077cc;
    outline: none;
}

button {
    background-color: #0077cc;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #005fa3;
}
button:active {
    background-color: #004070;
}

/* Footer */
footer {
    margin-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    padding: 10px 0;
    border-top: 1px solid #eee;
}

/* Connection Indicator (Modified) */
#connection-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center; /* Center vertically */
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.7); /* Add a white background */
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Soft shadow */
}

#swish-wrapper {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center; /* Center vertically */
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.7); /* Add a white background */
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Soft shadow */
}

#swish-text {
    font-size: 0.85rem;
    color: #333;
}


#connection-status {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 10px;
}

.connected {
    background-color: #2ecc71; /* Brighter green */
}

.disconnected {
    background-color: #e74c3c; /* Brighter red */
}

#connection-text {
    font-size: 0.85rem;
    color: #333;
}
