/* FixFacil - Mobile-First Design System */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    min-height: 100vh;
    color: #fff;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-top: 20px;
}

.header-left {
    display: flex;
    align-items: center;
}

.back-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 18px;
    margin-right: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.header-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

/* Logo */
.logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    backdrop-filter: blur(10px);
}

.logo::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 40px;
    background: #4299e1;
    border-radius: 8px;
    transform: rotate(-15deg);
    box-shadow: 10px 0 0 #63b3ed, 20px 0 0 rgba(255, 255, 255, 0.3);
}

.brand-text {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    text-align: center;
}

.tagline {
    font-size: 16px;
    opacity: 0.8;
    font-weight: 400;
    text-align: center;
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 30px 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.welcome-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 30px 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.welcome-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.welcome-text {
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.9;
    text-align: center;
    margin-bottom: 25px;
}

/* Buttons */
.btn {
    padding: 18px 20px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 15px;
}

.btn-primary {
    background: linear-gradient(135deg, #4299e1 0%, #63b3ed 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(66, 153, 225, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(66, 153, 225, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.btn-danger {
    background: rgba(248, 113, 113, 0.2);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.btn-danger:hover {
    background: rgba(248, 113, 113, 0.3);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Forms */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 16px;
}

.form-input {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-input:focus {
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.form-select {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    outline: none;
    cursor: pointer;
}

.form-select option {
    background: #2c5282;
    color: white;
}

.form-textarea {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    outline: none;
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 30px 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    background: rgba(66, 153, 225, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.feature-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.feature-text {
    font-size: 12px;
    opacity: 0.8;
    line-height: 1.3;
}

/* Status Bar */
.status-bar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-text {
    font-size: 14px;
    font-weight: 500;
}

.status-online {
    color: #68d391;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #68d391;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Notifications */
.notification {
    background: rgba(104, 211, 145, 0.2);
    border: 1px solid rgba(104, 211, 145, 0.3);
    border-radius: 12px;
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin: 20px 0;
    border: 1px solid;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: rgba(104, 211, 145, 0.2);
    border-color: rgba(104, 211, 145, 0.3);
    color: #68d391;
}

.alert-warning {
    background: rgba(251, 191, 36, 0.2);
    border-color: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

.alert-error {
    background: rgba(248, 113, 113, 0.2);
    border-color: rgba(248, 113, 113, 0.3);
    color: #f87171;
}

.alert-info {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

/* Quick Actions */
.quick-actions {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    margin-top: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-actions h3 {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.quick-buttons {
    display: flex;
    gap: 10px;
}

.btn-quick {
    flex: 1;
    padding: 15px 10px;
    background: rgba(66, 153, 225, 0.2);
    border: 1px solid rgba(66, 153, 225, 0.3);
    border-radius: 12px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-quick:hover {
    background: rgba(66, 153, 225, 0.3);
    border-color: rgba(66, 153, 225, 0.5);
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px 0;
    font-size: 12px;
    opacity: 0.6;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    .welcome-card, .card {
        padding: 25px 20px;
    }

    .features-grid {
        gap: 12px;
    }

    .feature-card {
        padding: 18px 12px;
    }

    .btn {
        padding: 16px 18px;
        font-size: 15px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
