/*
Theme Name: Divi Child
Theme URI: http://thstudio.co.uk
Description: Divi Child Theme
Author: thstudio
Author URI: http://thstudio.co.uk
Template: Divi
Version: 1.0.0
*/
/* Add your custom styles here */

/* * CSS Class: .nav-auth-button 
 * Designed for a clean, noticeable login/logout button in a navigation bar.
 */
.nav-auth-button {
    /* Layout and Spacing */
    display: inline-block;
    padding: 0.6rem 1.25rem 0.4rem 1.25rem; /* ADJUSTED: Increased top padding (0.6rem) and reduced bottom padding (0.4rem) to push the text down for better internal vertical alignment. */
    
    /* FIX: Forceful vertical positioning */
    position: relative; /* Enables use of the 'top' property */
    top: -15px; /* Final correct position for the button shape */
    vertical-align: middle; /* Helps align the element relative to surrounding text */
    z-index: 10; /* Ensures the button renders above other elements in the stack */
    
    /* Appearance */
    border: 2px solid #3b82f6; /* Tailwind blue-500 equivalent */
    border-radius: 9999px; /* Fully rounded pill shape */
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    line-height: 1.5;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease; /* Smooth transition for hover effects */

    /* Colors and Background */
    color: #ffffff; 
    background-color: #3b82f6; /* Default blue background */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 
                0 2px 4px -2px rgba(0, 0, 0, 0.06); /* Subtle shadow */
}

/* Hover State: Makes the button darker and lifts the shadow */
.nav-auth-button:hover,
.nav-auth-button:focus {
    background-color: #2563eb; /* Darker blue on hover (Tailwind blue-600) */
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15), 
                0 4px 6px -4px rgba(0, 0, 0, 0.1); /* Slightly larger shadow lift */
    transform: translateY(-1px); /* Small lift effect */
}

/* Alternative 'Outline' Style for a secondary button (e.g., Logout when logged in) 
 * You can apply both .nav-auth-button and .nav-auth-outline for a different look.
 */
.nav-auth-button.nav-auth-outline {
    background-color: transparent;
    color: #3b82f6; 
    border-color: #3b82f6;
    box-shadow: none;
}

.nav-auth-button.nav-auth-outline:hover {
    background-color: #3b82f6; 
    color: #ffffff; 
}
