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

body {
    background: #0a0a0a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem 1.5rem 6rem 1.5rem;
    font-family: 'Inter', sans-serif;
}

/* site logo top left */
.site-logo {
    position: fixed;
    top: 20px;
    left: 28px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-image {
    height: 60px;
    width: auto;
    display: block;
}

.content {
    width: 100%;
    max-width: 580px;
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* clean black card */
.status-card {
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    border-radius: 28px;
    padding: 42px 32px;
    width: 100%;
    box-shadow: 0 12px 24px -16px #000000;
}

h2 {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 28px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    border-bottom: 1px solid #2a2a2a;
    padding-bottom: 14px;
}

.input-container {
    position: relative;
    margin-bottom: 20px;
}

input {
    width: 100%;
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid #333333;
    background: #111111;
    color: white;
    font-size: 1rem;
    transition: all 0.2s ease;
}

input:focus {
    outline: none;
    border-color: #555555;
    background: #1a1a1a;
}

input::placeholder {
    color: #666666;
}

button {
    width: 100%;
    padding: 18px 20px;
    border: none;
    border-radius: 20px;
    background: #1e2a2a;
    border: 1px solid #3d5a5a;
    color: #ccf0f0;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-bottom: 10px;
}

button:hover {
    background: #254040;
    border-color: #5a8080;
}

.result {
    margin-top: 24px;
    background: #111111;
    border: 1px solid #333333;
    border-radius: 20px;
    padding: 24px;
    font-size: 0.95rem;
    color: #dddddd;
    min-height: auto;
}

/* Progress Circle Styles */
.progress-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #2a2a2a;
}

.circle-progress {
    width: 120px;
    height: 120px;
    position: relative;
    margin-bottom: 12px;
}

.circle-progress svg {
    width: 120px;
    height: 120px;
    transform: rotate(-90deg);
}

.circle-progress circle {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
}

.circle-bg {
    stroke: #2a2a2a;
}

.circle-fill {
    stroke: #9ed9b5;
    stroke-dasharray: 314.159;
    stroke-dashoffset: 314.159;
    transition: stroke-dashoffset 0.5s ease;
}

.percentage-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 600;
    color: #9ed9b5;
}

.percentage-text small {
    font-size: 0.8rem;
    color: #888888;
}

.progress-label {
    font-size: 0.9rem;
    color: #aaaaaa;
}

.progress-label span {
    color: #9ed9b5;
    font-weight: 600;
}

/* Order details grid */
.details-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-row {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #0a0a0a;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
}

.detail-icon {
    width: 32px;
    color: #888888;
}

.detail-label {
    flex: 0 0 100px;
    color: #aaaaaa;
    font-size: 0.9rem;
}

.detail-value {
    flex: 1;
    color: #ffffff;
    font-weight: 500;
}

.detail-value.highlight {
    color: #9ed9b5;
    font-weight: 600;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-active {
    background: #1a2a1a;
    color: #9ed9b5;
    border: 1px solid #3d5a3d;
}

.status-completed {
    background: #1a2a2a;
    color: #9ed9b5;
    border: 1px solid #3d5a5a;
}

.status-processing {
    background: #1a1a2a;
    color: #b8d2ff;
    border: 1px solid #3d3d5a;
}

.status-cancelled {
    background: #2a1a1a;
    color: #ffb9b9;
    border: 1px solid #5a3d3d;
}

.loading {
    color: #b8d2ff;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
}

.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error {
    color: #ffb9b9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
}

.error i {
    color: #ff8a9f;
}

/* Bottom Navigation Bar */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111111;
    border-top: 1px solid #2a2a2a;
    display: flex;
    justify-content: center;
    padding: 10px 20px;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    width: 100%;
    max-width: 400px;
    display: flex;
    justify-content: space-around;
    gap: 15px;
}

.nav-btn {
    flex: 1;
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    color: #f0f0f0;
    padding: 12px 16px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.15s;
    text-decoration: none;
}

.nav-btn:hover {
    background: #252525;
    border-color: #555555;
    transform: translateY(-2px);
}

.nav-btn i {
    font-size: 1.1rem;
}

.nav-btn.refill {
    background: #1e2a2a;
    border-color: #3d5a5a;
    color: #ccf0f0;
}

.nav-btn.services {
    background: #2a1e2a;
    border-color: #5a3d5a;
    color: #f0ccf0;
}

.nav-btn.refill:hover {
    background: #254040;
}

.nav-btn.services:hover {
    background: #402540;
}

.tiny-credit {
    margin-top: 16px;
    font-size: 0.7rem;
    color: #555555;
    text-align: center;
}
