/* styles.css */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f5f7;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    transition: background-color 0.3s;
}

.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    width: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #007aff;
}

p {
    font-size: 16px;
    margin: 10px 0;
}

button {
    background-color: #007aff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

button.disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

button.disabled:hover {
    background-color: #ccc;
    transform: none;
}

button:hover {
    background-color: #005bb5;
    transform: scale(1.05);
}

input[type="file"] {
    display: none;
}

label[for="fileInput"] {
    background-color: #007aff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

label[for="fileInput"]:hover {
    background-color: #005bb5;
    transform: scale(1.05);
}

hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 20px 0;
}

.button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.button-container button {
    padding: 10px 20px;
    font-size: 16px;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    padding: 10px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 30px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #f5b301;
    transform: scale(1.1);
}

/* 气泡对话框样式 */
.bubble {
    display: none;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    max-width: 300px;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* 兼容 Safari */
    white-space: pre-wrap
}

.bubble::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.3) transparent transparent transparent;
}

.disclaimer {
    font-size: 12px;
    color: #888;
    margin-top: 20px;
}