:root {
    --primary-color: #ff69b4;
    --secondary-color: #ff9ed2;
    --dark-color: #333;
    --light-color: #fff;
    --danger-color: #ff4757;
    --success-color: #2ed573;
    --warning-color: #ffa502;
    --info-color: #70a1ff;
    --gray-color: #f1f2f6;
    --dark-gray: #57606f;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    color: var(--dark-color);
    line-height: 1.6;
}

/* Login Page Styles */
.login-page {
    background: linear-gradient(135deg, #ffcce6, #ff9ed2);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('../assets/catgirl-bg.svg');
    background-size: cover;
    background-position: center;
}

.login-container {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 400px;
    padding: 30px;
    text-align: center;
}

.login-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.subtitle {
    color: var(--dark-gray);
    font-size: 1rem;
    margin-bottom: 20px;
}

.login-form {
    margin: 20px 0;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--dark-gray);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
}

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

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

.btn-primary:disabled {
    background-color: #ffb6d9;
    cursor: not-allowed;
}

.login-footer {
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--dark-gray);
}

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

.modal-content {
    background-color: white;
    border-radius: 10px;
    width: 500px;
    max-width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.modal-body {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.modal-body p, .modal-body ul {
    margin-bottom: 15px;
}

.modal-body ul {
    padding-left: 20px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.checkbox-container input {
    margin-right: 10px;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: right;
}

/* Dashboard Styles */
.dashboard {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background-color: var(--dark-color);
    color: white;
    padding: 20px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.sidebar-header h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.sidebar-menu {
    padding: 20px 0;
}

.menu-item {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
}

.menu-item:hover, .menu-item.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.menu-item i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.main-content {
    flex: 1;
    margin-left: 250px;
    padding: 20px;
}

.safe-mode-banner {
    background-color: var(--success-color);
    color: white;
    padding: 10px 20px;
    text-align: center;
    font-weight: 500;
    margin-bottom: 20px;
    border-radius: 5px;
}

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

.dashboard-title h1 {
    font-size: 1.8rem;
    color: var(--dark-color);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.stat-card h3 {
    color: var(--dark-gray);
    font-size: 1rem;
    margin-bottom: 10px;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

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

.card-header h2 {
    font-size: 1.5rem;
    color: var(--dark-color);
}

.attack-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.form-group select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background-color: white;
}

.attack-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.attack-list {
    width: 100%;
    border-collapse: collapse;
}

.attack-list th, .attack-list td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.attack-list th {
    background-color: #f9f9f9;
    font-weight: 600;
    color: var(--dark-gray);
}

.attack-list tr:hover {
    background-color: #f9f9f9;
}

.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-active {
    background-color: rgba(46, 213, 115, 0.2);
    color: var(--success-color);
}

.status-stopped {
    background-color: rgba(255, 71, 87, 0.2);
    color: var(--danger-color);
}

.action-btn {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
}

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

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

.terminal {
    background-color: #1e1e1e;
    color: #f1f1f1;
    padding: 15px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    height: 300px;
    overflow-y: auto;
}

.terminal-line {
    margin-bottom: 5px;
    line-height: 1.4;
}

.terminal-info {
    color: #70a1ff;
}

.terminal-success {
    color: #2ed573;
}

.terminal-warning {
    color: #ffa502;
}

.terminal-error {
    color: #ff4757;
}

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

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.toggle-container {
    display: flex;
    align-items: center;
}

.toggle-label {
    margin-left: 10px;
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .sidebar {
        width: 70px;
        padding: 10px 0;
    }
    
    .sidebar-header h2 {
        font-size: 1.2rem;
    }
    
    .menu-item span {
        display: none;
    }
    
    .menu-item i {
        margin-right: 0;
        font-size: 1.5rem;
    }
    
    .main-content {
        margin-left: 70px;
    }
}

@media (max-width: 576px) {
    .login-container {
        width: 90%;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .attack-form {
        grid-template-columns: 1fr;
    }
}