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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

body.dashboard-active {
    display: block;
    align-items: initial;
    justify-content: initial;
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

.login-box {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 40px;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo h1 {
    color: #667eea;
    font-size: 32px;
    margin-bottom: 10px;
}

.logo p {
    color: #666;
    font-size: 16px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

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

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.demo-credentials {
    margin-top: 25px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
    font-size: 13px;
}

.demo-credentials p {
    margin-bottom: 8px;
    color: #666;
}

.demo-credentials code {
    background: #e0e0e0;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

/* Dashboard Styles */
.dashboard {
    display: none;
    min-height: 100vh;
    background: #f5f7fa;
}

.dashboard.active {
    display: block;
}

.navbar {
    background: white;
    padding: 15px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar h2 {
    color: #667eea;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-badge {
    background: #667eea;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.btn-logout {
    padding: 8px 20px;
    background: #ff4757;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.btn-logout:hover {
    background: #ff3838;
}

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

.btn-new-ticket {
    padding: 12px 25px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 20px;
}

.btn-new-ticket:hover {
    background: #5568d3;
}

.tickets-grid {
    display: grid;
    gap: 20px;
}

.ticket-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.ticket-id {
    font-weight: 600;
    color: #667eea;
}

.ticket-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-open {
    background: #ffeaa7;
    color: #d63031;
}

.status-in-progress {
    background: #74b9ff;
    color: #0984e3;
}

.status-dependency {
    background: #fab1a0;
    color: #e17055;
}

.status-closed {
    background: #55efc4;
    color: #00b894;
}

.ticket-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2d3436;
}

.ticket-description {
    color: #636e72;
    margin-bottom: 15px;
    line-height: 1.6;
}

.ticket-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #95a5a6;
}

.ticket-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.btn-view {
    padding: 8px 15px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.btn-view:hover {
    background: #5568d3;
}

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

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

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

.modal-header h3 {
    color: #2d3436;
}

.btn-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #636e72;
}

.comments-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
}

.comment {
    background: #f5f7fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 600;
    color: #667eea;
    margin-bottom: 5px;
}

.comment-text {
    color: #2d3436;
    line-height: 1.6;
}

.comment-date {
    font-size: 12px;
    color: #95a5a6;
    margin-top: 5px;
}

.add-comment {
    margin-top: 15px;
}

.add-comment textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.add-comment button {
    margin-top: 10px;
    padding: 10px 20px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.status-selector {
    margin-top: 15px;
}

.status-selector select {
    width: 100%;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
}

/* Dashboard Navigation Cards */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.dashboard-card-link {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.dashboard-card-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.dashboard-card-icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
}

.dashboard-card-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 10px;
}

.dashboard-card-description {
    color: #636e72;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    
    .user-info {
        flex-direction: column;
    }
    
    .dashboard-cards {
        grid-template-columns: 1fr;
    }
}

/* Made with Bob */
