/* Common styles used across all pages */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Container styles */
.container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
}
.logo {
    display: block;
    margin: 0 auto 30px auto;
    width: 150px;
}

/* Flash messages */
.flash-messages {
    margin-bottom: 20px;
}

.flash,
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 14px;
}

.flash.success,
.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.flash.error,
.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Button styles */
.btn,
button[type="submit"],
.submit-btn {
    background: linear-gradient(135deg, #3b913b 0%, #1C451C 100%);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn:hover,
button[type="submit"]:hover,
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(50, 52, 60, 0.4);
}

button[type="submit"]:active {
    transform: translateY(0);
}

/* Form elements */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #3b913b;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* Link styles */
.back-link {
    display: inline-block;
    color: #3b913b;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.back-link:hover {
    text-decoration: underline;
}
.footer {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 40px;
}
.footer a {
    color: #3b913b;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}   
