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

/* Variáveis de Cores Imobcoin */
:root {
    --imob-pink: #FE1D86;
    --imob-purple: #8B5CF6;
    --imob-blue: #4543FF;
    --imob-gradient: linear-gradient(135deg, #FE1D86 0%, #8B5CF6 50%, #4543FF 100%);
    --imob-dark: #1a1a2e;
    --imob-gray: #333;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--imob-gray);
    background-color: #f5f5f5;
}

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

/* Navbar - Cores Imobcoin */
.navbar {
    background: var(--imob-gradient);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(254, 29, 134, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar h1 {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

.page-header {
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: var(--imob-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.page-header p {
    color: #666;
}

/* Wallets Grid */
.wallets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.wallet-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.wallet-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(254, 29, 134, 0.2);
    border-color: var(--imob-pink);
}

.wallet-card h3 {
    margin-bottom: 0.5rem;
    color: var(--imob-purple);
    font-weight: 600;
}

.wallet-card .email {
    color: #666;
    margin-bottom: 0.5rem;
}

.wallet-card .balance {
    font-size: 1.2rem;
    font-weight: bold;
    background: var(--imob-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0.5rem 0;
}

.status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.status-active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

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

.wallet-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* Buttons - Cores Imobcoin */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--imob-gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(254, 29, 134, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(254, 29, 134, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
}

.btn-danger {
    background-color: #e74c3c;
    color: white;
}

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

/* Form */
.wallet-form,
.login-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--imob-purple);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--imob-pink);
    box-shadow: 0 0 0 3px rgba(254, 29, 134, 0.1);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Detail Card */
.wallet-detail {
    margin-top: 2rem;
}

.detail-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.detail-card h2 {
    margin-bottom: 0.5rem;
    background: var(--imob-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.detail-card .subtitle {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.detail-item {
    display: flex;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item label {
    font-weight: 600;
    width: 150px;
    color: var(--imob-purple);
}

.detail-item span {
    color: #333;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success {
    background: linear-gradient(135deg, rgba(254, 29, 134, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: var(--imob-purple);
    border: 1px solid var(--imob-pink);
}

/* Empty State */
.empty-state,
.error-state {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
}

.empty-state p,
.error-state p {
    margin-bottom: 1rem;
    color: #666;
}

/* Footer - Cores Imobcoin */
footer {
    background: var(--imob-gradient);
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

footer p {
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .wallets-grid {
        grid-template-columns: 1fr;
    }

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

    .wallet-actions .btn {
        width: 100%;
    }
}

