* {
    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%);
    padding: 20px;
    color: #323130;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    text-align: center;
    color: white;
    margin-bottom: 30px;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0078D4;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.icon {
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #323130;
}

.required::after {
    content: " *";
    color: #D83B01;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #0078D4;
}

.datetime-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #0078D4;
    color: white;
}

.btn-primary:hover {
    background: #005a9e;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 120, 212, 0.3);
}

.btn-secondary {
    background: #f0f0f0;
    color: #323130;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.btn-action {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step:not(:last-child)::after {
    content: "\2192";
    position: absolute;
    right: -20px;
    top: 0;
    font-size: 1.5rem;
    color: #e0e0e0;
}

.step.active .step-number {
    background: #0078D4;
    color: white;
}

.step.completed .step-number {
    background: #107C10;
    color: white;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.3s;
}

.step-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #323130;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 5px;
}

.status-high {
    background: #fff4e5;
    color: #FFB900;
}

.status-critical {
    background: #fde7e9;
    color: #D83B01;
}

.status-normal {
    background: #e6f4ea;
    color: #107C10;
}

.metric-bar {
    margin-bottom: 20px;
}

.metric-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.metric-label-text {
    font-weight: 500;
}

.metric-value {
    font-weight: 600;
    color: #D83B01;
}

.progress-bar {
    width: 100%;
    height: 24px;
    background: #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFB900, #D83B01);
    border-radius: 12px;
    transition: width 1s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
}

.progress-fill.normal {
    background: linear-gradient(90deg, #107C10, #0b5c0b);
}

.issue-box {
    background: #fef6f6;
    border-left: 4px solid #D83B01;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
}

.issue-header {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.known-issue-match {
    background: #f0f9ff;
    border: 2px solid #0078D4;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.known-issue-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: #0078D4;
}

.known-issue-rca {
    color: #666;
    margin-bottom: 12px;
}

.action-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.checks-list {
    margin-top: 20px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    margin-bottom: 8px;
    background: #f9f9f9;
    border-radius: 6px;
}

.check-icon {
    font-size: 1.2rem;
}

.escalation-info {
    background: #fff9e6;
    border-left: 4px solid #FFB900;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.escalation-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.escalation-label {
    font-weight: 500;
    color: #666;
}

.escalation-value {
    font-weight: 600;
    color: #323130;
}

.no-issue {
    text-align: center;
    padding: 40px;
    color: #107C10;
}

.no-issue-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.chart-placeholder {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    height: 200px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-style: italic;
    margin: 15px 0;
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    .datetime-group {
        grid-template-columns: 1fr;
    }

    .stepper {
        flex-direction: column;
        gap: 15px;
    }

    .step:not(:last-child)::after {
        content: "\2193";
        right: 50%;
        top: auto;
        bottom: -25px;
    }
}
