/* Main Styles for The Grey Administration Login Panel */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&display=swap');
:root {
    --primary-color: #333333;
    --secondary-color: #666666;
    --accent-color: #999999;
    --background-color: #f5f5f5;
    --error-color: #e74c3c;
    --success-color: #2ecc71;
    --border-color: #dddddd;
    --text-color: #333333;
    --button-color: #4285F4;
    --button-hover: #3367d6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Oswald', sans-serif;
    background-color: transparent;
}

/* Grey/white gradient text effect for all text except login box */
h1, h2, h3, h4, h5, h6, p, span:not(.login-box *), div:not(.login-box), a:not(.login-box *), label:not(.login-box *), table, th, td, li {
    background-image: linear-gradient(to bottom, #ffffff, #cccccc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0px 0px 1px rgba(150, 150, 150, 0.1);
}

/* Login box text styling for readability on dark background */
.login-box h2, .login-box label, .login-box span, .login-box div {
    background-image: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: #cccccc;
    text-shadow: none;
}

.login-box a {
    background-image: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: #ffffff;
    text-shadow: none;
}

body {
    background-color: #000000;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
}

.login-box {
    background-color: #000000;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 450px;
    padding: 30px;
    margin-bottom: 20px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    width: 100%;
    max-width: 450px;
}

.logo {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    background-color: transparent;
}

.logo img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Secondary logo styling */
.secondary-logo-container {
    background-color: #000000;
    padding: 3px 10px;
    border-radius: 0;
    margin-bottom: 20px;
    margin-top: 5px;
    display: inline-block;
    box-shadow: none;
    max-width: 170px;
}

.secondary-logo-text {
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
}

/* Main logo styling */
.main-logo-container {
    background-color: #000000;
    padding: 20px;
    border-radius: 0;
    display: block;
    margin: 0 auto 15px;
    border: none;
    text-align: center;
    max-width: 300px;
}

.main-logo-text {
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.main-logo-subtext {
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.top-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 300px; /* Increased from 240px to 300px to match admin/client pages */
    z-index: 10;
}

.top-logo .logo-highlight {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
}

.logo-highlight {
    background-color: #000000;
    padding: 15px 20px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 15px;
    border: none; /* Removed white border */
    box-shadow: none; /* Removed white shadow */
    width: 90%;
    max-width: 350px;
    text-align: center;
}

.main-logo {
    width: 100%;
    display: block;
    margin: 0 auto;
    filter: brightness(1.2) contrast(1.1); /* Enhancing contrast and brightness for better text readability */
}

.secondary-logo {
    width: 40%;
    max-width: 150px;
    margin-bottom: 25px;
    color: #ffffff;
}

.tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
    margin-top: 0;
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    font-size: 16px;
    color: #999999;
    position: relative;
    font-weight: 500;
}

.tab-btn.active {
    color: #ffffff;
    font-weight: bold;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #4285F4;
}

.login-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
    color: #dddddd;
    font-weight: 500;
}

.form-group {
    position: relative;
    margin-bottom: 15px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 15px;
    border: 1px solid #333333;
    border-radius: 4px;
    font-size: 16px;
    transition: border 0.3s;
    margin-bottom: 15px;
    background-color: #121212;
    color: #cccccc;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #4285F4;
    box-shadow: 0 0 5px rgba(66, 133, 244, 0.5);
}

.error-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--error-color);
    display: none;
}

.error-message {
    color: var(--error-color);
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

input.error {
    border-color: var(--error-color);
}

input.error + .error-icon {
    display: block;
}

.forgot-link {
    text-align: right;
    margin-bottom: 20px;
    margin-top: 5px;
}

.forgot-link a {
    color: var(--primary-color);
    font-size: 14px;
    text-decoration: none;
}

.login-btn {
    width: 100%;
    padding: 15px;
    background-color: #2a2a2a; /* Gray-black color */
    border: none;
    border-radius: 4px;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-btn:hover {
    background-color: #3a3a3a; /* Slightly lighter gray-black for hover effect */
}

.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: var(--secondary-color);
}

.divider span:nth-child(1),
.divider span:nth-child(3) {
    flex-grow: 1;
    height: 1px;
    background-color: var(--border-color);
}

.divider span:nth-child(2) {
    padding: 0 10px;
    font-size: 12px;
    color: #999;
}

.google-btn {
    width: 100%;
    padding: 12px;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 14px;
}

.google-btn:hover {
    background-color: #f5f5f5;
}

.google-btn svg {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.signup-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--secondary-color);
}

.signup-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

/* Footer styling removed as requested */

.about-us-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: transparent;
    border: 1px solid #ffffff;
    border-radius: 4px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.about-us-btn:hover {
    background-color: #ffffff;
    color: #000000;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .login-box {
        padding: 20px;
    }
    
    /* Footer responsive styling removed as requested */
}
