@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

html, body {
    height: 100%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease;
}

.status-page-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.status-box {
    width: 100%;
    max-width: 450px;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    margin-bottom: 30px;
}

.logo-container img {
    max-width: 160px;
    height: auto;
}

.status-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 30px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.status-title {
    font-size: 1.8em;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.status-message {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.status-actions a {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.status-actions a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* --- Durum Renkleri --- */
.status-icon.success { background-color: rgba(40, 167, 69, 0.15); color: #28a745; }
.status-icon.error   { background-color: rgba(220, 53, 69, 0.15); color: #dc3545; }
.status-icon.info    { background-color: rgba(23, 162, 184, 0.15); color: #17a2b8; }

.status-icon.success { animation-name: pulse-success; }
.status-icon.error   { animation-name: pulse-error; }
.status-icon.info    { animation-name: pulse-info; }

@keyframes pulse-success { 0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(40, 167, 69, 0); } }
@keyframes pulse-error   { 0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(220, 53, 69, 0); } }
@keyframes pulse-info    { 0% { box-shadow: 0 0 0 0 rgba(23, 162, 184, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(23, 162, 184, 0); } }


/* --- Light Mode --- */
body.light-mode .status-page-wrapper { background: #f0f2f5; }
body.light-mode .status-box { background-color: #ffffff; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); }
body.light-mode .status-title { color: #212529; }
body.light-mode .status-message { color: #495057; }
body.light-mode .status-actions a { background-color: #212529; color: #ffffff; }

/* --- Dark Mode --- */
body.dark-mode .status-page-wrapper { background: #121212; }
body.dark-mode .status-box { background-color: #1c1c1c; border: 1px solid #2a2a2a; }
body.dark-mode .status-title { color: #f8f9fa; }
body.dark-mode .status-message { color: #adb5bd; }
body.dark-mode .status-actions a { background-color: #e50914; color: #ffffff; }