/*
Theme Name: Twenty Twenty-Five Child
Template: twentytwentyfive
Version: 1.0
*/

/* Add custom styles here */

/* Add custom styles here */

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Ensure content containers are responsive */
.wp-site-blocks {
    max-width: 100%;
    overflow-x: hidden;
}

/* Scale down the logo to 80% and keep it centered */
.wp-block-site-logo,
.custom-logo-link,
.site-logo {
    display: flex;
    justify-content: center;
    width: 100%;
}

.wp-block-site-logo img,
.custom-logo,
.site-logo img {
    transform: scale(0.8);
    transform-origin: center center;
}

/* Make sure no element overflows the viewport */
* {
    max-width: 100%;
    box-sizing: border-box;
}

/* Adjust main content container */
.wp-site-blocks {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 15px;
}

/* Adjust header and footer width */
.site-header,
.site-footer {
    max-width: 100%;
    width: 100%;
}

/* Ensure images and media are responsive */
img, video, iframe {
    height: auto;
    max-width: 100%;
}

/* Add custom styles here */
/* Logo Banner Styles */
.site-header .site-branding {
    text-align: center;
    padding: 10px 0; /* Reduced padding from top and bottom */
    background: #fff;
    margin-top: -20px; /* Pull the logo up */
}

.site-logo {
    display: block;
    max-width: 100%;
    padding: 10px 0;
}

.custom-logo {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    max-height: 150px; /* Adjust this value to control the banner height */
    width: auto;
}

/* Hide site title and tagline */
.site-title,
.site-description {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Adjust login container spacing */
.login-page-container {
    margin-top: -40px !important;
}
.login-container {
    max-width: 400px;
    margin: -20px auto 10px; /* Reduced bottom margin from 20px to 10px */
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    font-size: 15px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.login-container:hover {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.login-container h2 {
    font-size: 16px;
    margin: 0 0 15px 0;
    text-align: center;
    color: #2c3e50;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 5px;
    max-width: 300px;
    margin: 0 auto;
}

.login-form p {
    margin: 0 0 10px 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Style form field containers */
.login-form p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    justify-content: flex-end;
}

/* Style labels */
.login-form label {
    min-width: 100px; /* Further reduced width */
    text-align: right;
    white-space: nowrap;
    flex-shrink: 0; /* Prevent label from shrinking */
}

/* Style input fields */
#user_login,
#user_pass {
    width: 100%;
    margin-left: 0;
    flex-grow: 1; /* Allow input to take remaining space */
    padding: 10px 15px;
    font-size: 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #f8fafc;
    color: #2d3748;
    box-sizing: border-box;
}

/* Username/Email specific styling */
#user_login {
    border-left: 4px solid #4f46e5; /* Indigo left border */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 15px center;
    padding-left: 45px;
}

/* Password specific styling */
#user_pass {
    border-left: 4px solid #10b981; /* Emerald left border */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 15px center;
    padding-left: 45px;
    letter-spacing: 1px; /* For better password readability */
}

/* Focus states */
#user_login:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    outline: none;
}

#user_pass:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    outline: none;
}

/* Placeholder styling */
::placeholder {
    color: #94a3b8;
    opacity: 1;
}

/* Hover effects */
#user_login:hover,
#user_pass:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
}

.login-form label {
    font-weight: 500;
    color: #4a5568;
    font-size: 10px;
}

.login-form label {
    display: block;
    margin-bottom: 4px;
    font-size: 10px;
    font-weight: 500;
    color: #4a5568;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 6px 8px;
    font-size: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    box-sizing: border-box;
    transition: all 0.2s ease;
    background-color: #f8fafc;
    color: #2d3748;
}

.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
    background-color: #fff;
}

.login-form input[type="checkbox"] {
    margin-right: 5px;
}

/* Login button row styles */
.login-button-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    gap: 10px;
}

.login-button-row input[type="submit"],
.login-form input[type="submit"] {
    width: auto;
    min-width: 100px;
    background: #2563eb;
    color: white;
    padding: 6px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    margin: 0;
}

.lost-password {
    font-size: 12px;
    white-space: nowrap;
}

.login-form input[type="submit"]:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.login-form input[type="submit"]:active {
    transform: translateY(0);
}

.login-links {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #edf2f7;
    font-size: 13px;
    text-align: center;
    color: #718096;
}

.login-links a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.login-links a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Remember me checkbox styling */
.login-remember {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.login-remember label {
    margin: 0 0 0 8px;
    font-size: 14px;
    color: #4a5568;
    cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .login-container {
        margin: 20px 15px;
        padding: 30px 25px;
    }
    
    .login-container h2 {
        font-size: 22px;
        margin-bottom: 25px;
    }
}

/* Error message styling */
.login-message {
    width: 100%;
    margin-bottom: 20px;
}

.login-error {
    color: #dc3232;
    font-size: 14px;
    margin: 0 0 15px 0;
    padding: 10px 15px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Style the error message container to match form width */
.login-container > .login-message {
    max-width: 400px; /* Match your form width */
    margin-left: auto;
    margin-right: 0;
}

/* Modern IT Footer */
.site-footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 0.6rem 0 1.2rem; /* Reduced top padding from 1.2rem to 0.6rem */
    text-align: center;
    font-family: 'Roboto Mono', 'Courier New', monospace;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1.5rem; /* Reduced from 3rem to 1.5rem */
    position: relative;
    overflow: hidden;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.footer-quote {
    font-size: 1rem;
    line-height: 1.3; /* Reduced line height */
    margin-bottom: 0.5rem; /* Reduced from 1rem */
    color: #94a3b8;
    position: relative;
    display: inline-block;
    font-weight: 300;
    letter-spacing: 0.5px;
    padding-bottom: 0.2rem; /* Small padding instead of margin */
}

/* Quote marks removed as per user request */

/* Contact Information */
.footer-contact {
    margin: 0.5rem 0; /* Reduced from 1rem */
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.contact-email,
.contact-phone {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.contact-email:hover,
.contact-phone:hover {
    color: #60a5fa;
    text-decoration: underline;
}

.contact-separator {
    color: #4b5563;
    margin: 0 0.25rem;
}

.footer-copyright {
    font-size: 0.8rem;
    color: #64748b;
    margin: 1rem 0 0;
    font-weight: 300;
}

/* Solid footer background - more specific selector */
.site-footer,
.site-footer::before,
.site-footer::after,
.wp-site-footer,
.wp-site-footer::before,
.wp-site-footer::after,
footer,
footer::before,
footer::after {
    background: #0f172a !important; /* Dark blue color */
    background-image: none !important;
}

/* Ensure the footer content is visible */
.site-footer * {
    position: relative;
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .footer-quote {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
    }
}
