/* Authentication Pages (Login & Register) Styles */

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    background: none;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: url('https://images.pexels.com/photos/10526880/pexels-photo-10526880.jpeg') no-repeat center center/cover;
    opacity: 0.9;
    z-index: -1;
}

.login-container {
    background-color: #fff;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    text-align: center;
    z-index: 1;
}

.login-container h2 {
    margin-bottom: 10px;
    color: #333;
}

.login-container p {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    text-align: left;
}

label {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
textarea {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

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

button {
    background-color: #0066cc;
    color: #fff;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background-color: #004d99;
}

.register-link {
    margin-top: 20px;
    font-size: 14px;
    text-align: center;
}

.register-link a {
    color: #0066cc;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

.input-error {
    border: 1px solid red;
    background-color: #ffe6e6;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-top: 10px;
}

.success-message {
    color: green;
    font-size: 14px;
    margin-top: 10px;
}

/* Responsive design */
@media (max-width: 768px) {
    .login-container {
        padding: 30px 20px;
        margin: 20px;
    }
    
    body {
        height: auto;
        min-height: 100vh;
        align-items: flex-start;
        padding-top: 50px;
    }
}
