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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 600px;
}

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 28px;
}

h2 {
    color: #555;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 18px;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

label {
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

input[type="text"],
input[type="tel"] {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

input[type="text"]:focus,
input[type="tel"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-submit {
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 14px;
    border-left: 4px solid;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left-color: #28a745;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border-left-color: #f5c6cb;
}

.response-section {
    margin-bottom: 25px;
}

.details-grid {
    display: grid;
    gap: 12px;
}

.detail-item,
.response-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #667eea;
}

.label {
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.value {
    color: #333;
    font-size: 14px;
    word-break: break-all;
    text-align: right;
    margin-left: 15px;
}

.value.reject {
    color: #dc3545;
    font-weight: 600;
}

.response-box {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e0e0e0;
}

.no-data {
    color: #999;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

.raw-response {
    margin-top: 15px;
    cursor: pointer;
}

.raw-response summary {
    color: #667eea;
    font-weight: 600;
    font-size: 13px;
    padding: 10px;
    user-select: none;
}

.raw-response summary:hover {
    text-decoration: underline;
}

.raw-response pre {
    background-color: #2d2d2d;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    font-size: 12px;
    margin-top: 10px;
    line-height: 1.4;
}

.button-group {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.btn-back {
    display: inline-block;
    padding: 12px 24px;
    background-color: #e0e0e0;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-back:hover {
    background-color: #d0d0d0;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .card {
        padding: 25px;
    }

    h1 {
        font-size: 24px;
    }

    .detail-item,
    .response-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .value {
        text-align: left;
        margin-left: 0;
        margin-top: 5px;
    }
}

