

.container {
    background: white;
    padding: 2.5rem 2rem 2rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 450px;
    position: relative;
    overflow: hidden;
}

/* Hide all sections by default */
.form-section {
    display: none;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease-in-out;
    width: 100%;
}

/* Only show active section */
.form-section.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

/* Ensure only one section is visible */
.form-section:not(.active) {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

.header {
    text-align: center;
    margin-bottom: 2rem;
}

.header h2 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.header p {
    color: #666;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 600;
    font-size: 0.9rem;
}

input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-primary {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    width: 100%;
    padding: 0.75rem;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.btn-logout {
    width: 100%;
    padding: 0.75rem;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-actions {
    display: flex;
    gap: 0.5rem;
}

.form-actions button {
    flex: 1;
}

.footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e1e5e9;
}

.dashboard-content {
    text-align: center;
}

.welcome-message {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.dashboard-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    display: none;
    z-index: 1000;
}

.message.success {
    background: #28a745;
    display: block;
}

.message.error {
    background: #dc3545;
    display: block;
}

/* Add these styles to your existing CSS */

.logo-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.logo h1 {
    color: #667eea;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo p {
    color: #666;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.logo-image {
    max-width: 180px;
    height: auto;
    margin-bottom: 0.5rem;
}

/* Styles for the logo-brand-group container */
.logo-brand-group {
    display: flex; /* This is the key: it aligns children in a row */
    align-items: center; /* This vertically centers the text with the logo */
    text-decoration: none; /* Removes the underline from the link */
    color: inherit; /* Makes the text color inherit from its parent, not the default link blue */
}

/* Styles for the logo image */
.logo {
    height: 50px; /* Control the size of your logo */
    width: auto; /* Maintains the logo's aspect ratio */
    margin-right: 15px; /* Adds some space between the logo and the text */
}

/* Styles for the brand text */
.brand-text h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.2;
}

.brand-text .tagline {
    margin: 0;
    font-size: 0.9rem;
    color: #666; /* A subtle grey for the tagline */
    line-height: 1.2;
}

header {
    background-image: url(https://www.rockwit.com/images/headerbg.jpg);
}

.login_body {
    font-family: 'Arial', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}


