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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #1a1d1e;
    color: #fff;
    line-height: 1.6;
}

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

.checker-box {
    background: #25282a;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.back-btn {
    background: #374151;
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.back-btn:hover {
    background: #4b5563;
}

.tool-selector {
    text-align: center;
}

.tool-selector h1 {
    margin-bottom: 40px;
    font-size: 32px;
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.tool-card {
    background: #25282a;
    padding: 30px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.tool-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.tool-card h3 {
    margin-bottom: 10px;
    color: #fff;
}

.tool-card p {
    color: #9ca3af;
    font-size: 14px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
    font-size: 24px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.stat-item {
    background: #1a1d1e;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}

textarea {
    width: 100%;
    height: 150px;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 6px;
    background: #1a1d1e;
    color: #fff;
    margin-bottom: 15px;
    resize: vertical;
    font-family: monospace;
}

.options {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.options label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

button[type="submit"] {
    background: #2563eb;
    color: white;
}

button[type="submit"]:hover {
    background: #1d4ed8;
}

button[type="reset"] {
    background: #374151;
    color: white;
}

button[type="reset"]:hover {
    background: #1f2937;
}

.results {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #1a1d1e;
    border-radius: 6px;
    overflow: hidden;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #333;
}

th {
    background: #111827;
    font-weight: 500;
    color: #9ca3af;
}

tr:last-child td {
    border-bottom: none;
}

.status-approved {
    color: #34d399;
}

.status-declined {
    color: #ef4444;
}

.copy-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.copy-btn.approved {
    background: #065f46;
}

.copy-btn.approved:hover {
    background: #047857;
}

.copy-btn.declined {
    background: #7f1d1d;
}

.copy-btn.declined:hover {
    background: #991b1b;
}

.cost {
    color: #5b21b6;
}

.auth-code {
    color: #ef4444;
    padding: 2px 6px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 4px;
}

.cvv-match {
    color: #34d399;
}

.cvv-mismatch {
    color: #ef4444;
}

.ending-balance {
    color: #34d399;
}

.login-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.login-box {
    background: #25282a;
    padding: 30px;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
}

.login-box h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
}

.login-box input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #333;
    border-radius: 4px;
    background: #1a1d1e;
    color: #fff;
}

.login-box button {
    width: 100%;
    background: #2563eb;
    color: white;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
}

.login-box button:hover {
    background: #1d4ed8;
}