/* Estilos globais */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #6c63ff;
    --primary-gradient: linear-gradient(45deg, #6c63ff, #a764ff);
    --secondary: #ff6384;
    --accent: #36d7b7;
    --dark: #1a2138;
    --light: #f4f7ff;
    --card-bg: rgba(255, 255, 255, 0.9);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: rgba(0, 0, 0, 0.1);
    --success: #36d7b7;
    --danger: #ff6384;
    --warning: #ffce56;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 80% 10%, rgba(108, 99, 255, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 20% 90%, rgba(255, 99, 132, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(255, 206, 86, 0.08) 0%, transparent 70%);
    background-attachment: fixed;
    min-height: 100vh;
}

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

/* Cabeçalho e Logo */
.header {
    padding: 30px 0 20px;
    text-align: center;
    position: relative;
}

.logo {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.logo-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.3);
    color: white;
    font-size: 40px;
    transform: rotate(-10deg);
    position: relative;
}

.logo-dot {
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: var(--secondary);
    border-radius: 50%;
    top: 15px;
    right: 5px;
    box-shadow: 0 2px 5px rgba(255, 99, 132, 0.3);
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.1rem;
    color: var(--dark);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Cards e containers */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px var(--glass-shadow);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--glass-shadow);
}

.card-content {
    padding: 25px;
    position: relative;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.card-title i {
    margin-right: 12px;
    font-size: 1.2em;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Formulários e Inputs */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
    font-size: 1.05rem;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    background-color: white;
    transition: all 0.3s;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
    outline: none;
}

.textarea-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.prompt-textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 15px;
    min-height: 130px;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    resize: none;
    outline: none;
    background: transparent;
    position: relative;
    z-index: 1;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(26, 33, 56, 0.5);
}

.input-with-icon .form-input {
    padding-left: 45px;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 50px;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.4s ease-out;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn i {
    margin-right: 10px;
    font-size: 1.1em;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 7px 20px rgba(108, 99, 255, 0.4);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(45deg, #36d7b7, #2ca58d);
    color: white;
    box-shadow: 0 5px 15px rgba(54, 215, 183, 0.3);
}

.btn-success:hover {
    box-shadow: 0 7px 20px rgba(54, 215, 183, 0.4);
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(45deg, #ff6384, #e83e6a);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 99, 132, 0.3);
}

.btn-danger:hover {
    box-shadow: 0 7px 20px rgba(255, 99, 132, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: #f1f2f6;
    color: var(--dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(108, 99, 255, 0.1);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.button-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Mensagens e alertas */
.error-message, .success-message {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
}

.error-message {
    background: rgba(255, 99, 132, 0.1);
    border-left: 4px solid var(--danger);
    color: #e83e6a;
}

.success-message {
    background: rgba(54, 215, 183, 0.1);
    border-left: 4px solid var(--success);
    color: #2ca58d;
}

/* Upload de Imagens */
.upload-area {
    position: relative;
    margin-bottom: 25px;
    background: white;
    border-radius: 15px;
    border: 2px dashed rgba(108, 99, 255, 0.3);
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--primary);
    background-color: rgba(108, 99, 255, 0.03);
}

.upload-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.upload-text {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.upload-help {
    font-size: 0.85rem;
    color: rgba(26, 33, 56, 0.6);
}

.upload-preview {
    display: flex;
    align-items: center;
    margin-top: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.upload-preview-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.upload-preview-details {
    flex: 1;
    text-align: left;
}

.upload-preview-name {
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.upload-preview-size {
    font-size: 0.8rem;
    color: rgba(26, 33, 56, 0.6);
}

.upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Loader */
.loader-wrapper {
    display: none;
    position: relative;
    margin: 20px auto;
    text-align: center;
}

.loader {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    position: relative;
}

.loader:before,
.loader:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.6;
    animation: pulse 2s ease-in-out infinite;
}

.loader:after {
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        transform: scale(0);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.loader-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.loader-center i {
    color: var(--primary);
    font-size: 14px;
}

.loader-text {
    font-weight: 500;
    color: var(--primary);
    font-size: 1rem;
}

/* Resultado da imagem */
.result-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: rgba(26, 33, 56, 0.5);
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    border: 2px dashed rgba(108, 99, 255, 0.2);
}

.result-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: rgba(108, 99, 255, 0.3);
}

.result-placeholder p {
    font-size: 1.1rem;
    font-weight: 500;
}

.result-container {
    position: relative;
}

.result-image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1/1;
    background: white;
    margin-bottom: 15px;
}

.result-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.prompt-bubble {
    background: white;
    border-radius: 15px;
    padding: 12px 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
    color: rgba(26, 33, 56, 0.8);
    position: relative;
}

.prompt-bubble::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 15px;
    height: 15px;
    background: white;
    transform: rotate(45deg);
    box-shadow: -3px -3px 5px rgba(0, 0, 0, 0.03);
}

.side-by-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.side-by-side .result-image-wrapper {
    margin-bottom: 0;
}

.image-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

/* Autenticação */
.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    overflow: hidden;
}

.auth-header {
    background: var(--primary-gradient);
    padding: 30px;
    text-align: center;
    color: white;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

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

.auth-form {
    padding: 30px;
}

.auth-footer {
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.small-link {
    font-size: 0.9rem;
    color: var(--primary);
    text-decoration: none;
}

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

/* Dashboard e Painel do Usuário */
.dashboard-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
    min-height: 600px;
}

.sidebar {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-user {
    display: flex;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    margin-right: 15px;
}

.user-avatar.small {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
    margin-right: 10px;
}

.user-info {
    flex: 1;
}

.user-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.user-credits {
    font-size: 0.85rem;
    color: rgba(26, 33, 56, 0.7);
}

.user-role {
    font-size: 0.85rem;
    color: rgba(26, 33, 56, 0.7);
}

.sidebar-menu {
    margin-bottom: 20px;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--dark);
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 5px;
    transition: all 0.2s;
}

.menu-item:hover {
    background-color: rgba(108, 99, 255, 0.05);
}

.menu-item.active {
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    font-weight: 500;
}

.menu-item i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.dashboard-content {
    flex: 1;
}

.dashboard-header {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.dashboard-header p {
    color: rgba(26, 33, 56, 0.7);
}

/* Galeria de Imagens */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.gallery-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.gallery-image-container {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-actions {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-actions {
    opacity: 1;
}

.gallery-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.gallery-action-btn:hover {
    transform: scale(1.1);
    background: var(--primary);
    color: white;
}

.gallery-details {
    padding: 15px;
}

.gallery-prompt {
    font-weight: 500;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-date {
    font-size: 0.85rem;
    color: rgba(26, 33, 56, 0.6);
}

/* Paginação */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.pagination-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.2s;
}

.pagination-item:hover {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
}

.pagination-item.active {
    background: var(--primary);
    color: white;
}

.pagination-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--dark);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: modal-enter 0.3s forwards;
}

@keyframes modal-enter {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.modal-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Configurações do usuário */
.settings-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: 200px 1fr;
}

.settings-tabs {
    background: #f8f9fb;
    padding: 20px 0;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.tab-button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 15px 20px;
    border: none;
    background: transparent;
    text-align: left;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-button:hover {
    background-color: rgba(108, 99, 255, 0.05);
}

.tab-button.active {
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    font-weight: 500;
    border-left: 3px solid var(--primary);
}

.tab-button i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.settings-tab-content {
    padding: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.settings-card {
    margin-bottom: 30px;
}

.settings-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.settings-description {
    color: rgba(26, 33, 56, 0.7);
    margin-bottom: 20px;
}

.settings-form {
    max-width: 600px;
}

.danger-zone {
    background-color: rgba(255, 99, 132, 0.05);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(255, 99, 132, 0.2);
}

/* Notificações */
.notifications-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.notification-summary {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 10px;
    transition: background-color 0.2s;
}

.notification-item:hover {
    background-color: #f8f9fb;
}

.notification-item.unread {
    background-color: rgba(108, 99, 255, 0.05);
    border-left: 3px solid var(--primary);
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 15px;
}

.notification-content {
    flex: 1;
}

.notification-message {
    font-weight: 500;
    margin-bottom: 5px;
}

.notification-time {
    font-size: 0.85rem;
    color: rgba(26, 33, 56, 0.6);
}

.notification-actions {
    display: flex;
    gap: 5px;
}

.notification-action-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #f1f2f6;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.notification-action-btn:hover {
    background: var(--primary);
    color: white;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.inline-form {
    display: inline;
}

/* Estado vazio */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fb;
    border-radius: 15px;
    margin-bottom: 20px;
}

.empty-state i {
    font-size: 3rem;
    color: rgba(26, 33, 56, 0.3);
    margin-bottom: 15px;
}

.empty-state h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.empty-state p {
    color: rgba(26, 33, 56, 0.7);
    margin-bottom: 20px;
}

/* Transações */
.transactions-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.transaction-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fb;
    border-radius: 10px;
    transition: all 0.2s;
}

.transaction-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.transaction-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 15px;
}

.transaction-details {
    flex: 1;
}

.transaction-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.transaction-meta {
    font-size: 0.85rem;
    color: rgba(26, 33, 56, 0.6);
}

.transaction-amount {
    font-weight: 700;
    color: var(--primary);
}

/* Planos */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.plan-card {
    background: #f8f9fb;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.plan-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.plan-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.plan-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.plan-details {
    font-size: 0.9rem;
    color: rgba(26, 33, 56, 0.7);
    margin-bottom: 15px;
}

/* Utilitários */
.text-center {
    text-align: center;
}

.user-cell {
    display: flex;
    align-items: center;
}

/* Responsividade */
@media (max-width: 1024px) {
    .dashboard-container {
        grid-template-columns: 200px 1fr;
    }
    
    .settings-container {
        grid-template-columns: 160px 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .header {
        padding: 70px 0 20px;
    }
    
    .nav-container {
        top: 15px;
        right: 15px;
    }
    
    .login-button {
        right: 70px;
    }
    
    .dashboard-container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none;
    }
    
    .settings-container {
        grid-template-columns: 1fr;
    }
    
    .settings-tabs {
        display: flex;
        overflow-x: auto;
        padding: 10px;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .tab-button {
        padding: 10px 15px;
        white-space: nowrap;
    }
    
    .tab-button.active {
        border-left: none;
        border-bottom: 3px solid var(--primary);
    }
    
    .side-by-side {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .header-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .pagination-item {
        width: 35px;
        height: 35px;
    }
    
    .card-content {
        padding: 20px 15px;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }
    
    .logo-circle {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .transaction-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .transaction-amount {
        align-self: flex-end;
    }
    
    .transaction-icon {
        margin-right: 0;
    }
}