/**
 * CSS Frontend para o Plugin de Reservas de Coworking
 */

/* Variáveis CSS */
:root {
    --primary-color: #131313;
    --secondary-color: #DF190E;
    --accent-color: #FFD100;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #495057;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Reset e base */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--light-gray);
}

/* Container principal */
.coworking-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Cabeçalho */
.coworking-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: var(--border-radius);
}

.coworking-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 300;
}

.coworking-header p {
    font-size: 1.2em;
    opacity: 0.9;
}

/* Formulário de reserva */
.coworking-reserva-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* Progresso do formulário */
.form-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    background: var(--light-gray);
    position: relative;
}

.form-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
    transform: translateY(-50%);
}

.progress-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
    font-size: 1.2em;
    transition: var(--transition);
    border: 3px solid white;
}

.progress-step.active .step-number {
    background: var(--secondary-color);
    color: white;
    transform: scale(1.1);
}

.progress-step.completed .step-number {
    background: var(--success-color);
    color: white;
}

.step-label {
    font-size: 14px;
    color: var(--medium-gray);
    font-weight: 500;
    transition: var(--transition);
}

.progress-step.active .step-label {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Etapas do formulário */
.form-step {
    display: none;
    padding: 40px;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

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

.form-step h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
    text-align: center;
    font-size: 1.8em;
    font-weight: 300;
}

.step-description {
    text-align: center;
    color: var(--medium-gray);
    margin-bottom: 30px;
    font-size: 1.1em;
}

/* Campos do formulário */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 0.95em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(223, 25, 14, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--danger-color);
}

.error-message {
    color: var(--danger-color);
    font-size: 0.85em;
    margin-top: 5px;
    display: block;
}

/* Grid de salas */
.salas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.sala-card {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    background: white;
    position: relative;
}

.sala-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.sala-card.selected {
    border-color: var(--secondary-color);
    background: #fff5f5;
    box-shadow: 0 4px 15px rgba(223, 25, 14, 0.2);
}

.sala-card.selected::before {
    content: "✓";
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 2;
}

.sala-image {
    height: 320px;
    overflow: hidden;
    position: relative;
}

.sala-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: var(--transition);
}

.sala-card:hover .sala-image img {
    transform: scale(1.05);
}

.sala-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.sala-content {
    padding: 25px;
}

.sala-content h3 {
    margin: 0 0 12px 0;
    color: var(--primary-color);
    font-size: 1.4em;
    font-weight: 600;
}

.sala-descricao {
    color: var(--medium-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.sala-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 12px;
    color: var(--medium-gray);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
}

.info-value {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1em;
}

.sala-status {
    text-align: right;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.disponivel {
    background: #d4edda;
    color: #155724;
}

.status-badge.ocupada {
    background: #f8d7da;
    color: #721c24;
}

.status-badge.manutencao {
    background: #fff3cd;
    color: #856404;
}

.sala-recursos {
    margin-top: 20px;
}

.sala-recursos h4 {
    margin: 0 0 12px 0;
    font-size: 1em;
    color: var(--primary-color);
    font-weight: 600;
}

.recursos-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recursos-lista li {
    padding: 6px 0;
    color: var(--medium-gray);
    font-size: 0.9em;
    position: relative;
    padding-left: 20px;
}

.recursos-lista li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.sala-actions {
    padding: 0 25px 25px;
}

.btn-select-sala {
    width: 100%;
    padding: 15px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-select-sala:hover {
    background: #b3140b;
    transform: translateY(-1px);
}

/* Calendário */
.calendario-container {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.calendario-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-gray);
}

.calendario-header h3 {
    margin: 0;
    font-size: 1.6em;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.btn-nav {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b3140b 100%);
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    padding: 12px 24px;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9em;
    box-shadow: 0 2px 8px rgba(223, 25, 14, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-nav:hover::before {
    left: 100%;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(223, 25, 14, 0.4);
}

.btn-nav:active {
    transform: translateY(0);
}

.calendario-dias {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.dia-header {
    text-align: center;
    font-weight: 700;
    color: var(--medium-gray);
    padding: 15px 8px;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--light-gray);
    border-radius: 8px;
    margin-bottom: 8px;
}

.dia {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-weight: 600;
    border: 2px solid transparent;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    min-height: 50px;
    font-size: 0.95em;
}

.dia:hover {
    background: var(--light-gray);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.dia.selected {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b3140b 100%);
    color: white;
    border-color: var(--secondary-color);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 6px 20px rgba(223, 25, 14, 0.4);
    z-index: 2;
}

.dia.disponivel {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-color: #c3e6cb;
}

.dia.disponivel:hover {
    background: linear-gradient(135deg, #c3e6cb 0%, #b8dacc 100%);
    border-color: #28a745;
}

.dia.indisponivel {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    cursor: not-allowed;
    opacity: 0.7;
    transform: none !important;
    box-shadow: none !important;
}

.dia.vazio {
    background: none;
    cursor: default;
    box-shadow: none;
    border: none;
}

.dia.vazio:hover {
    transform: none;
    box-shadow: none;
}

.dia.hoje {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    font-weight: 700;
    position: relative;
}

.dia.hoje::before {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 0 2px white;
}

.dia.com-reserva {
    position: relative;
}

.reserva-indicator {
    position: absolute;
    top: 4px;
    right: 4px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b3140b 100%);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 2px solid white;
}

/* Resumo da reserva */
.resumo-reserva {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 4px solid var(--secondary-color);
}

.resumo-reserva h3 {
    margin: 0 0 20px 0;
    color: var(--primary-color);
    font-size: 1.3em;
}

.resumo-content p {
    margin: 12px 0;
    color: var(--dark-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.resumo-content p:last-child {
    border-bottom: none;
}

.resumo-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Ações do formulário */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.btn-prev,
.btn-next,
.btn-submit {
    padding: 15px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 120px;
}

.btn-prev {
    background: var(--medium-gray);
    color: white;
}

.btn-prev:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

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

.btn-next:hover {
    background: #b3140b;
    transform: translateY(-1px);
}

.btn-next:disabled {
    background: var(--border-color);
    cursor: not-allowed;
    transform: none;
}

.btn-submit {
    background: var(--success-color);
    color: white;
}

.btn-submit:hover {
    background: #218838;
    transform: translateY(-1px);
}

.btn-submit:disabled {
    background: var(--border-color);
    cursor: not-allowed;
    transform: none;
}

/* Mensagens */
.form-messages {
    margin-top: 20px;
}

.message-success,
.message-error {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    font-weight: 500;
}

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

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

/* Notificações */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    color: white;
    font-weight: 500;
    z-index: 1000;
    transform: translateX(100%);
    transition: var(--transition);
    max-width: 300px;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    background: var(--success-color);
}

.notification-error {
    background: var(--danger-color);
}

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

.notification-info {
    background: var(--medium-gray);
}

/* Responsividade */
@media (max-width: 768px) {
    .coworking-container {
        padding: 10px;
    }
    
    .coworking-header {
        padding: 30px 15px;
    }
    
    .coworking-header h1 {
        font-size: 2em;
    }
    
    .form-progress {
        padding: 20px 15px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1em;
    }
    
    .step-label {
        font-size: 12px;
    }
    
    .form-step {
        padding: 25px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .salas-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sala-image {
        height: 180px;
    }
    
    .sala-content {
        padding: 20px;
    }
    
    .sala-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-prev,
    .btn-next,
    .btn-submit {
        width: 100%;
    }
    
    .calendario-container {
        padding: 20px 15px;
        margin: 0 -10px 30px;
        border-radius: 12px;
    }
    
    .calendario-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        margin-bottom: 25px;
        padding-bottom: 15px;
    }
    
    .calendario-header h3 {
        font-size: 1.4em;
        margin-bottom: 10px;
    }
    
    .btn-nav {
        padding: 10px 20px;
        font-size: 0.85em;
        border-radius: 20px;
    }
    
    .calendario-dias {
        gap: 8px;
        margin-top: 15px;
    }
    
    .dia-header {
        padding: 12px 6px;
        font-size: 0.8em;
        margin-bottom: 6px;
    }
    
    .dia {
        font-size: 0.9em;
        min-height: 45px;
        border-radius: 10px;
    }
    
    .dia:hover {
        transform: translateY(-1px) scale(1.03);
    }
    
    .dia.selected {
        transform: translateY(-1px) scale(1.05);
    }
    
    .reserva-indicator {
        width: 18px;
        height: 18px;
        font-size: 0.65em;
        top: 3px;
        right: 3px;
    }
    
    .dia.hoje::before {
        width: 6px;
        height: 6px;
        top: 3px;
        right: 3px;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .coworking-header h1 {
        font-size: 1.8em;
    }
    
    .form-step h2 {
        font-size: 1.5em;
    }
    
    .sala-content h3 {
        font-size: 1.2em;
    }
    
    .btn-prev,
    .btn-next,
    .btn-submit {
        padding: 12px 20px;
        font-size: 0.9em;
    }
    
    /* Calendário para telas muito pequenas */
    .calendario-container {
        padding: 15px 10px;
        margin: 0 -5px 25px;
        border-radius: 10px;
    }
    
    .calendario-header {
        gap: 15px;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .calendario-header h3 {
        font-size: 1.2em;
        margin-bottom: 8px;
    }
    
    .btn-nav {
        padding: 8px 16px;
        font-size: 0.8em;
        border-radius: 18px;
    }
    
    .calendario-dias {
        gap: 6px;
        margin-top: 12px;
    }
    
    .dia-header {
        padding: 10px 4px;
        font-size: 0.75em;
        margin-bottom: 4px;
        border-radius: 6px;
    }
    
    .dia {
        font-size: 0.85em;
        min-height: 40px;
        border-radius: 8px;
        font-weight: 500;
    }
    
    .dia:hover {
        transform: translateY(-1px) scale(1.02);
    }
    
    .dia.selected {
        transform: translateY(-1px) scale(1.03);
        box-shadow: 0 4px 15px rgba(223, 25, 14, 0.3);
    }
    
    .reserva-indicator {
        width: 16px;
        height: 16px;
        font-size: 0.6em;
        top: 2px;
        right: 2px;
    }
    
    .dia.hoje::before {
        width: 5px;
        height: 5px;
        top: 2px;
        right: 2px;
    }
    
    /* Melhorar legibilidade em telas pequenas */
    .dia.disponivel {
        font-weight: 600;
    }
    
    .dia.hoje {
        font-weight: 700;
    }
    
    .dia.selected {
        font-weight: 700;
    }
}

/* Media query para telas extra pequenas (iPhone SE, etc.) */
@media (max-width: 360px) {
    .calendario-container {
        padding: 12px 8px;
        margin: 0 -3px 20px;
    }
    
    .calendario-header h3 {
        font-size: 1.1em;
    }
    
    .btn-nav {
        padding: 6px 12px;
        font-size: 0.75em;
    }
    
    .calendario-dias {
        gap: 4px;
    }
    
    .dia-header {
        padding: 8px 3px;
        font-size: 0.7em;
    }
    
    .dia {
        font-size: 0.8em;
        min-height: 35px;
        border-radius: 6px;
    }
    
    .reserva-indicator {
        width: 14px;
        height: 14px;
        font-size: 0.55em;
    }
    
    .dia.hoje::before {
        width: 4px;
        height: 4px;
    }
}

/* Melhorias de acessibilidade para calendário */
@media (prefers-reduced-motion: reduce) {
    .dia,
    .btn-nav,
    .dia:hover,
    .dia.selected {
        transition: none;
        transform: none !important;
    }
    
    .btn-nav::before {
        display: none;
    }
}

/* Modo de alto contraste */
@media (prefers-contrast: high) {
    .dia {
        border-width: 3px;
    }
    
    .dia.disponivel {
        background: #ffffff;
        color: #000000;
        border-color: #000000;
    }
    
    .dia.indisponivel {
        background: #000000;
        color: #ffffff;
        border-color: #000000;
    }
    
    .dia.hoje {
        background: #ffff00;
        color: #000000;
        border-color: #000000;
    }
    
    .dia.selected {
        background: #000000;
        color: #ffffff;
        border-color: #000000;
    }
}

/* Animações adicionais */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.sala-card.selected {
    animation: pulse 0.6s ease-in-out;
}

/* Melhorias de acessibilidade */
.btn-select-sala:focus,
.btn-prev:focus,
.btn-next:focus,
.btn-submit:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.dia:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Estados de loading */
.btn-loading {
    display: none;
}

.btn-submit:disabled .btn-text {
    display: none;
}

.btn-submit:disabled .btn-loading {
    display: inline;
}

/* Melhorias visuais para campos obrigatórios */
.form-group label[for*="required"]::after {
    content: " *";
    color: var(--danger-color);
}

/* Tooltips */
[data-tooltip] {
    position: relative;
}

[data-tooltip]:hover::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 5px;
}

[data-tooltip]:hover::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--primary-color);
    margin-bottom: -5px;
}

/* Sistema de Notificações Moderno */
.coworking-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.coworking-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.coworking-notification-success {
    border-left: 4px solid var(--success-color);
}

.coworking-notification-error {
    border-left: 4px solid var(--danger-color);
}

.coworking-notification-warning {
    border-left: 4px solid var(--warning-color);
}

.coworking-notification-info {
    border-left: 4px solid var(--secondary-color);
}

.notification-content {
    display: flex;
    align-items: flex-start;
    padding: 16px 20px;
    gap: 12px;
}

.notification-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

.coworking-notification-success .notification-icon {
    background: var(--success-color);
    color: white;
}

.coworking-notification-error .notification-icon {
    background: var(--danger-color);
    color: white;
}

.coworking-notification-warning .notification-icon {
    background: var(--warning-color);
    color: white;
}

.coworking-notification-warning .notification-content {
    animation: slideInRight 0.3s ease;
}

.coworking-notification-info .notification-icon {
    background: var(--secondary-color);
    color: white;
}

.notification-message {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    color: var(--primary-color);
    margin: 0;
}

.notification-close {
    background: none;
    border: none;
    color: var(--medium-gray);
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
}

/* Animações para diferentes tipos de notificação */
.coworking-notification-success .notification-content {
    animation: slideInRight 0.3s ease;
}

.coworking-notification-error .notification-content {
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsividade para notificações */
@media (max-width: 768px) {
    .coworking-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100%);
    }
    
    .coworking-notification.show {
        transform: translateY(0);
    }
    
    .notification-content {
        padding: 14px 16px;
    }
    
    .notification-message {
        font-size: 13px;
    }
}

/* Efeitos de hover e interação */
.coworking-notification:hover {
    transform: translateX(0) translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Notificações múltiplas */
.coworking-notification + .coworking-notification {
    top: calc(20px + 80px);
}

.coworking-notification + .coworking-notification + .coworking-notification {
    top: calc(20px + 160px);
}

/* Modo escuro (opcional) */
@media (prefers-color-scheme: dark) {
    .coworking-notification {
        background: #2d3748;
        border-color: rgba(255, 255, 255, 0.1);
        color: white;
    }
    
    .notification-message {
        color: #e2e8f0;
    }
    
    .notification-close {
        color: #a0aec0;
    }
    
    .notification-close:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #e2e8f0;
    }
}
