:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f5f6fa;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background-color: #1a252f;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.content {
    /* Espaçamento para evitar que o menu fixo corte o cabeçalho da página */
    padding-top: 84px;
    /* valor seguro para navbar + espaçamento */
}

@media (max-width: 768px) {
    .content {
        /* Ajuste para dispositivos móveis onde a navbar pode ocupar mais espaço */
        padding-top: 100px;
    }
}

.navbar-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--secondary-color);
    background-color: rgba(52, 152, 219, 0.3);
}

.nav-links a:hover::after {
    width: 80%;
}

.nav-links a.active {
    color: var(--secondary-color);
    background-color: rgba(52, 152, 219, 0.3);
}

.nav-links a.active::after {
    width: 80%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #ffffff;
    cursor: pointer;
    padding: 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background-color: rgba(52, 152, 219, 0.3);
    color: var(--secondary-color);
}

.menu-toggle.active {
    background-color: rgba(52, 152, 219, 0.3);
    color: var(--secondary-color);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1a252f;
        padding: 1.5rem;
        flex-direction: column;
        gap: 0.8rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        z-index: 1001;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 1.2rem 1.5rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        color: #ffffff;
        font-size: 1.15rem;
        background-color: rgba(255, 255, 255, 0.05);
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .nav-links a:hover {
        background-color: rgba(52, 152, 219, 0.4);
        color: var(--secondary-color);
        transform: translateX(5px);
    }

    .nav-links a i {
        font-size: 1.3rem;
        width: 25px;
        text-align: center;
    }
}

.auth-container {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.auth-container h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-links a {
    color: var(--secondary-color);
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.btn:hover {
    background-color: #2980b9;
}

.btn-primary {
    background-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #1a252f;
}

.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: rgba(var(--accent-color-rgb), 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(var(--accent-color-rgb), 0.2);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 2rem;
    background: white;
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.1;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.2s;
    animation-fill-mode: both;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.4s;
    animation-fill-mode: both;
}

.cta-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 180px;
    justify-content: center;
}

.cta-buttons .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.features h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.features-subtitle {
    text-align: center;
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 4rem;
    opacity: 0.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-color);
    line-height: 1.6;
    opacity: 0.8;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 1.5rem;
        margin-bottom: 3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons .btn {
        width: 100%;
        padding: 0.9rem 2rem;
    }

    .features {
        padding: 3rem 0;
    }

    .features h2 {
        font-size: 2rem;
    }

    .features-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .features-grid {
        gap: 1.5rem;
        padding: 0 1.5rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .features h2 {
        font-size: 1.8rem;
    }

    .features-subtitle {
        font-size: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dashboard-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.dashboard-header p {
    color: var(--text-color);
    font-size: 1.2rem;
}

.dashboard-section {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.dashboard-section:hover {
    transform: translateY(-5px);
}

.dashboard-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.quick-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.quick-actions .btn:hover {
    transform: scale(1.05);
}

.armario-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid var(--secondary-color);
    text-align: center;
}

.armario-card.ocupado {
    border-left-color: var(--accent-color);
}

.armario-card.disponivel {
    border-left-color: #2ecc71;
}

.armario-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.armario-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.armario-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.armario-info p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.armario-info .status {
    font-weight: 500;
}

.armario-info .status.ocupado {
    color: var(--accent-color);
}

.armario-info .status.disponivel {
    color: #2ecc71;
}

.armario-info .data {
    color: var(--text-color);
    font-size: 0.9rem;
}

.armario-info i {
    font-size: 1rem;
}

.desalocar-form {
    margin-top: 1rem;
}

.btn-danger {
    background-color: var(--accent-color);
}

.btn-danger:hover {
    background-color: #c0392b;
}

.historico-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.historico-item {
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.historico-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.historico-info h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.historico-info p {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.historico-info small {
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-header h1 {
        font-size: 2rem;
    }

    .dashboard-header p {
        font-size: 1rem;
    }

    .dashboard-section {
        padding: 1.5rem;
    }

    .quick-actions {
        flex-direction: column;
    }

    .quick-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .armario-card {
        padding: 1rem;
    }

    .armario-card h3 {
        font-size: 1.2rem;
    }

    .armario-info p {
        font-size: 0.9rem;
    }
}

.form-group small {
    display: block;
    color: #666;
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

.form-group input[type="password"] {
    margin-bottom: 0.5rem;
}

.auth-container form {
    margin-top: 2rem;
}

.auth-container .btn {
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .form-group small {
        font-size: 0.75rem;
    }
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: #333;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #007bff;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
    color: #666;
}

/* Ajustes para o conteúdo principal */
main {
    margin-top: 2rem;
    min-height: calc(100vh - 2rem - 300px);
}

.page-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.container-armarios {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.2rem;
    padding: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.armario-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    padding: 1rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.armario-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.armario-card.disponivel {
    border-top: 3px solid #4CAF50;
}

.armario-card.indisponivel {
    border-top: 3px solid #f44336;
}

.armario-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.armario-numero {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.armario-numero i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.armario-header h2 {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
    font-weight: 600;
}

.armario-status {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    background: #f8f9fa;
    font-weight: 500;
}

.armario-card.disponivel .armario-status {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.armario-card.indisponivel .armario-status {
    color: #f44336;
    background: rgba(244, 67, 54, 0.1);
}

.armario-info {
    color: #666;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.armario-info i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.armario-actions {
    margin-top: 0.3rem;
}

.armario-actions .btn {
    width: 100%;
    padding: 0.5rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.85rem;
    text-align: center;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.armario-actions .btn i {
    font-size: 0.9rem;
}

.armario-actions .btn-primary {
    background: #4CAF50;
    color: white;
    border: none;
}

.armario-actions .btn-primary:hover {
    background: #45a049;
    transform: translateY(-1px);
}

.armario-actions .btn-secondary {
    background: #f5f5f5;
    color: #666;
    border: none;
    cursor: not-allowed;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .page-header {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .container-armarios {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
        padding: 0.8rem;
    }

    .armario-card {
        padding: 0.8rem;
    }

    .armario-header h2 {
        font-size: 1rem;
    }

    .armario-status {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }

    .armario-info {
        font-size: 0.75rem;
    }

    .armario-actions .btn {
        padding: 0.4rem;
        font-size: 0.8rem;
    }
}

.form-group small {
    display: block;
    color: #666;
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

.form-group input[type="password"] {
    margin-bottom: 0.5rem;
}

.auth-container form {
    margin-top: 2rem;
}

.auth-container .btn {
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .form-group small {
        font-size: 0.75rem;
    }
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: #333;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #007bff;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
    color: #666;
}

/* Ajustes para o conteúdo principal */
main {
    margin-top: 2rem;
    min-height: calc(100vh - 2rem - 300px);
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--text-color);
    font-size: 1.2rem;
}

.armarios-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.armarios-section {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.armarios-section:hover {
    transform: translateY(-5px);
}

.armarios-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.armarios-section h2 i {
    color: var(--accent-color);
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .armarios-container {
        grid-template-columns: 1fr;
    }

    .armarios-section {
        padding: 1.5rem;
    }
}

.alocar-form {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.alocar-form .btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.alocar-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.alocar-form .btn i {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .alocar-form {
        margin-top: 0.8rem;
        padding-top: 0.8rem;
    }

    .alocar-form .btn {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
}

.profile-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.profile-card {
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.profile-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.profile-avatar {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.1);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 4px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.profile-avatar:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.profile-header h2 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 2;
    font-weight: 700;
}

.profile-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: inline-flex;
    backdrop-filter: blur(5px);
}

.profile-form {
    padding: 2.5rem;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.5s ease;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
}

.form-section h3 i {
    color: var(--secondary-color);
    font-size: 1.8rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.1rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
    background-color: var(--white);
}

.form-group small {
    display: block;
    color: #666;
    margin-top: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-actions {
    margin-top: 3rem;
    text-align: center;
}

.form-actions .btn {
    min-width: 220px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border-radius: 50px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

.form-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.form-actions .btn:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .profile-container {
        margin: 1rem auto;
    }

    .profile-header {
        padding: 2rem 1rem;
    }

    .profile-avatar {
        font-size: 3.5rem;
        width: 100px;
        height: 100px;
    }

    .profile-header h2 {
        font-size: 1.8rem;
    }

    .profile-email {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }

    .profile-form {
        padding: 1.5rem;
    }

    .form-section {
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }

    .form-section h3 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .form-group label {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

    .form-control {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }

    .form-actions .btn {
        width: 100%;
        min-width: auto;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .profile-header {
        padding: 1.5rem 1rem;
    }

    .profile-avatar {
        font-size: 3rem;
        width: 90px;
        height: 90px;
        margin-bottom: 1rem;
    }

    .profile-header h2 {
        font-size: 1.5rem;
    }

    .profile-email {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .profile-form {
        padding: 1.2rem;
    }

    .form-section h3 {
        font-size: 1.2rem;
    }

    .form-group small {
        font-size: 0.85rem;
    }
}

/* Auth Styles */
.auth-wrapper {
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.auth-container {
    width: 100%;
    max-width: 450px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: fadeIn 0.5s ease;
}

.auth-header {
    text-align: center;
    padding: 2rem;
    background-color: var(--primary-color);
    color: var(--white);
}

.auth-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.auth-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.auth-form {
    padding: 2rem;
}

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

.auth-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.auth-form label i {
    color: var(--primary-color);
}

.auth-form .form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-form .form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: var(--primary-color);
}

.auth-form small {
    display: block;
    color: #666;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.auth-footer {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--light-bg);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.auth-footer p {
    margin: 0;
    color: var(--text-color);
}

.auth-footer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: var(--primary-color);
}

.alert {
    margin: 1rem 2rem;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideIn 0.3s ease;
}

.alert i {
    font-size: 1.2rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: rgba(var(--accent-color-rgb), 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(var(--accent-color-rgb), 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .auth-wrapper {
        padding: 1rem;
    }

    .auth-container {
        max-width: 100%;
    }

    .auth-header {
        padding: 1.5rem;
    }

    .auth-header i {
        font-size: 2.5rem;
    }

    .auth-header h2 {
        font-size: 1.5rem;
    }

    .auth-header p {
        font-size: 1rem;
    }

    .auth-form {
        padding: 1.5rem;
    }

    .auth-form .form-control {
        padding: 0.7rem 1rem;
    }

    .btn-block {
        padding: 0.8rem;
        font-size: 1rem;
    }

    .auth-footer {
        padding: 1rem;
    }
}

/* Estilo moderno para página de pagamento */
.pagamento-card {
    max-width: 420px;
    margin: 3rem auto 2rem auto;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(44, 62, 80, 0.10);
    padding: 2.5rem 2rem 2rem 2rem;
    animation: fadeIn 0.7s;
}

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

.pagamento-header i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.pagamento-header h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.pagamento-header p {
    color: #555;
    font-size: 1.1rem;
}

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

.metodo-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.metodo-option {
    background: #f5f6fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.7rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-size: 1rem;
    position: relative;
}

.metodo-option input[type="radio"] {
    accent-color: var(--secondary-color);
    margin-right: 0.3rem;
}

.metodo-option .metodo-icone {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.metodo-option:hover,
.metodo-option input[type="radio"]:checked+.metodo-icone {
    border-color: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.08);
}

.valor-pagamento {
    background: #eaf6fb;
    color: var(--primary-color);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.pagamento-info {
    margin-top: 1.5rem;
    text-align: center;
    color: #888;
    font-size: 1rem;
}

.pagamento-info i {
    color: var(--primary-color);
    margin-right: 0.3rem;
}

@media (max-width: 600px) {
    .pagamento-card {
        padding: 1.2rem 0.5rem;
    }

    .pagamento-header h1 {
        font-size: 1.3rem;
    }

    .valor-pagamento {
        font-size: 1rem;
    }
}

/* Estilos aprimorados para a página de armários */
.titulo-armarios {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.subtitulo {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

.container-armarios {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    padding: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.armario-card {
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    padding: 0.8rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.armario-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.armario-card.disponivel {
    border-top: 2px solid #4CAF50;
}

.armario-card.indisponivel {
    border-top: 2px solid #f44336;
}

.armario-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.4rem;
}

.armario-header h2 {
    font-size: 1rem;
    color: #333;
    margin: 0;
    font-weight: 600;
}

.armario-status {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    background: #f8f9fa;
    font-weight: 500;
}

.armario-card.disponivel .armario-status {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.armario-card.indisponivel .armario-status {
    color: #f44336;
    background: rgba(244, 67, 54, 0.1);
}

.armario-info {
    color: #666;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.armario-info i {
    color: #888;
    font-size: 0.8rem;
}

.armario-actions {
    margin-top: 0.3rem;
}

.armario-actions .btn {
    width: 100%;
    padding: 0.4rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.8rem;
    text-align: center;
    transition: all 0.2s ease;
}

.armario-actions .btn-primary {
    background: #4CAF50;
    color: white;
    border: none;
}

.armario-actions .btn-primary:hover {
    background: #45a049;
    transform: translateY(-1px);
}

.armario-actions .btn-secondary {
    background: #f5f5f5;
    color: #666;
    border: none;
    cursor: not-allowed;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .container-armarios {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.8rem;
        padding: 0.8rem;
    }

    .armario-card {
        padding: 0.6rem;
    }

    .armario-header h2 {
        font-size: 0.9rem;
    }

    .armario-status {
        font-size: 0.7rem;
        padding: 0.15rem 0.4rem;
    }

    .armario-info {
        font-size: 0.7rem;
    }

    .armario-actions .btn {
        padding: 0.35rem;
        font-size: 0.75rem;
    }
}

.lockers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.5rem;
    padding: 2rem 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.locker-item {
    position: relative;
    background: var(--white);
    border-radius: 8px;
    padding: 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    border: 1px solid #eee;
    overflow: hidden;
}

.locker-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.locker-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.locker-item:hover::before {
    transform: scaleX(1);
}

.locker-item.available {
    border-top: 3px solid var(--primary-color);
}

.locker-item.unavailable {
    opacity: 0.7;
    filter: grayscale(30%);
}

.locker-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    transition: transform 0.3s ease;
}

.locker-item.unavailable .locker-icon {
    color: #b0bec5;
}

.locker-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.status-badge.available {
    background: rgba(44, 62, 80, 0.1);
    color: var(--primary-color);
}

.status-badge.unavailable {
    background: rgba(231, 76, 60, 0.1);
    color: var(--accent-color);
}

.locker-location {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.locker-item:hover .locker-location {
    background: #e9ecef;
}

.locker-location i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.locker-action {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.locker-action:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.locker-action i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .lockers-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
        padding: 1.5rem 0.8rem;
    }

    .locker-item {
        padding: 1rem;
        gap: 0.6rem;
    }

    .locker-icon {
        font-size: 2rem;
    }

    .locker-number {
        font-size: 2rem;
    }

    .status-badge {
        padding: 0.25rem 0.6rem;
        font-size: 0.75rem;
    }

    .locker-location {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }

    .locker-action {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* Admin Buttons Styles */
.admin-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.btn-admin {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-admin i {
    font-size: 1.1rem;
}

.btn-edit {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-edit:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.btn-delete {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-delete:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.2);
}

.btn-ocupado {
    background-color: #e67e22;
    color: var(--white);
}

.btn-ocupado:hover {
    background-color: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.2);
}

.btn-admin:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Admin Table Styles */
.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.5rem 0;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.admin-table th {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
    color: var(--text-color);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background-color: rgba(52, 152, 219, 0.02);
}

@media (max-width: 768px) {
    .admin-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn-admin {
        width: 100%;
        justify-content: center;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .admin-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .admin-table th,
    .admin-table td {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}