@import url("https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&display=swap");
.button-glow { display: inline-flex; position: relative; align-items: center; justify-content: center; gap: 0.5rem; box-sizing: border-box; padding: 0.9rem 2.5rem; color: white; background: transparent; text-decoration: none; letter-spacing: 0.08em; font-family: "Lora", serif; font-size: 0.95rem; border: 1px solid rgba(91, 221, 170, 0.5); border-radius: 5px; overflow: hidden; transition: all 0.4s ease; }

.button-glow svg { width: 16px; height: 16px; }

.button-glow::before { position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(91, 221, 170, 0.15), transparent); content: ""; transition: left 0.5s ease; }

.button-glow:hover { color: white; border-color: #5bddaa; box-shadow: 0 0 20px rgba(91, 221, 170, 0.2); }

.button-glow:hover::before { left: 100%; }

.button-glow.button-glow-light { color: #1a1a2e; border-color: rgba(59, 191, 101, 0.4); }

.button-glow.button-glow-light::before { background: linear-gradient(90deg, transparent, rgba(59, 191, 101, 0.12), transparent); }

.button-glow.button-glow-light:hover { color: #1a1a2e; border-color: #3bbf65; box-shadow: 0 0 20px rgba(59, 191, 101, 0.15); }

.button-gradient-primary, .form-button, .button-gradient-primary-dark { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; box-sizing: border-box; padding: 0.9rem 2rem; color: white; background: linear-gradient(135deg, #3bbf65 0%, #5fce82 100%); text-decoration: none; letter-spacing: 0.06em; font-family: "Lora", serif; font-size: 0.95rem; font-weight: 500; border: none; border-radius: 5px; cursor: pointer; transition: all 0.35s ease; }

.button-gradient-primary svg, .form-button svg, .button-gradient-primary-dark svg { width: 18px; height: 18px; transition: transform 0.3s ease; }

.button-gradient-primary:hover, .form-button:hover, .button-gradient-primary-dark:hover { color: white; background: linear-gradient(135deg, #3bbf65 0%, #5bddaa 100%); box-shadow: 0 8px 32px rgba(59, 191, 101, 0.35), 0 0 60px rgba(59, 191, 101, 0.15); transform: translateY(-2px); }

.button-gradient-primary:hover svg:last-child, .form-button:hover svg:last-child, .button-gradient-primary-dark:hover svg:last-child { transform: translateX(4px); }

.button-gradient-primary:active, .form-button:active, .button-gradient-primary-dark:active { box-shadow: 0 4px 16px rgba(59, 191, 101, 0.3); transform: translateY(0); }

.button-gradient-primary-dark { background: linear-gradient(135deg, rgba(59, 191, 101, 0.9) 0%, rgba(59, 191, 101, 0.7) 100%); }

.button-gradient-primary-dark:hover { background: linear-gradient(135deg, #3bbf65 0%, rgba(91, 221, 170, 0.9) 100%); }

@keyframes shake-horizontal { 0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); } }

@keyframes fade-in-up { from { opacity: 0;
    transform: translateY(20px); }
  to { opacity: 1;
    transform: translateY(0); } }

@keyframes scale-in { from { opacity: 0;
    transform: scale(0.5); }
  to { opacity: 1;
    transform: scale(1); } }

@keyframes card-appear { from { opacity: 0;
    transform: translateY(20px) scale(0.98); }
  to { opacity: 1;
    transform: translateY(0) scale(1); } }

@keyframes error-appear { from { opacity: 0;
    transform: translateY(-4px); }
  to { opacity: 1;
    transform: translateY(0); } }

.form-page { display: flex; flex-direction: column; align-items: center; min-height: calc(100vh - 72px - 200px); padding: 48px 24px 64px; }

@media (max-width: 576px) { .form-page { padding: 32px 16px 48px; } }

.form-card { width: 100%; max-width: 640px; padding: 2.5rem; background: rgba(255, 255, 255, 0.85); backdrop-filter: saturate(180%) blur(20px); border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 16px; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.5); animation: card-appear 0.5s ease both; }

@media (max-width: 576px) { .form-card { padding: 2rem 1.5rem; border-radius: 12px; } }

.form-card-wide { max-width: 780px; }

.form-card-header { margin-bottom: 2rem; text-align: center; }

.form-card-title { margin: 0; color: #1a1a2e; font-family: "Lora", serif; font-size: 1.5rem; font-weight: 600; }

@media (max-width: 576px) { .form-card-title { font-size: 1.25rem; } }

.form-card-line { width: 50px; height: 3px; margin: 1rem auto 0; background: linear-gradient(90deg, #3bbf65, #5bddaa); border-radius: 2px; }

.form-field-group { margin-bottom: 1.25rem; }

.form-field-label { display: block; margin-bottom: 0.4rem; color: #555; font-size: 0.88rem; font-weight: 500; transition: color 0.2s ease; }

.form-field-input-wrapper { position: relative; }

.form-field-input-wrapper input, .form-field-input-wrapper select, .form-field-input-wrapper textarea { display: block; width: 100%; padding: 0.75rem 1rem; color: #1a1a2e; background-color: rgba(249, 250, 251, 0.8); font-family: inherit; font-size: 0.95rem; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 8px; outline: none; transition: all 0.25s ease; }

.form-field-input-wrapper input::placeholder, .form-field-input-wrapper select::placeholder, .form-field-input-wrapper textarea::placeholder { color: #888; }

.form-field-input-wrapper input:hover, .form-field-input-wrapper select:hover, .form-field-input-wrapper textarea:hover { background-color: rgba(255, 255, 255, 0.95); border-color: rgba(0, 0, 0, 0.15); }

.form-field-input-wrapper input:focus, .form-field-input-wrapper select:focus, .form-field-input-wrapper textarea:focus { background-color: #fff; border-color: rgba(59, 191, 101, 0.5); box-shadow: 0 0 0 3px rgba(59, 191, 101, 0.1); }

.form-field-input-wrapper textarea { resize: vertical; min-height: 120px; }

.form-field-input-wrapper select { appearance: base-select; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-position: right 1rem center; background-repeat: no-repeat; background-size: 16px; cursor: pointer; }

.form-field-input-wrapper select::picker-icon { display: none; }

.form-field-input-wrapper select:open { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 15 12 9 18 15'%3E%3C/polyline%3E%3C/svg%3E"); }

.form-field-input-wrapper input[type="file"] { padding: 0.6rem 1rem; cursor: pointer; }

.form-field-input-wrapper input[type="file"]::file-selector-button { margin-right: 1rem; padding: 0.4rem 1rem; color: #1a1a2e; background: rgba(59, 191, 101, 0.08); font-size: 0.88rem; border: 1px solid rgba(59, 191, 101, 0.2); border-radius: 6px; cursor: pointer; transition: all 0.2s ease; }

.form-field-input-wrapper input[type="file"]::file-selector-button:hover { background: rgba(59, 191, 101, 0.15); }

.form-field-input-wrapper input[type="checkbox"] { accent-color: #3bbf65; display: inline-block; width: auto; padding: 0; cursor: pointer; }

.form-field-group-checkbox .form-field-input-wrapper { display: flex; align-items: center; gap: 0.5rem; }

.form-field-group-checkbox .form-field-label { display: inline; margin-bottom: 0; cursor: pointer; }

.form-field-help { margin-top: 0.35rem; color: #888; letter-spacing: 0.02em; font-size: 0.78rem; font-weight: 400; }

.form-field-help ul { margin: 0.25rem 0 0; padding-left: 1.2rem; list-style: disc; }

.form-field-help li { margin-bottom: 0.15rem; line-height: 1.5; }

.form-field-group-error .form-field-label { color: #e74c3c; }

.form-field-group-error .form-field-input-wrapper input, .form-field-group-error .form-field-input-wrapper select, .form-field-group-error .form-field-input-wrapper textarea { border-color: rgba(231, 76, 60, 0.5); }

.form-field-group-error .form-field-input-wrapper input:focus, .form-field-group-error .form-field-input-wrapper select:focus, .form-field-group-error .form-field-input-wrapper textarea:focus { border-color: #e74c3c; box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1); }

.form-field-error { margin-top: 0.4rem; }

.form-field-error span { display: block; color: #e74c3c; font-size: 0.8rem; animation: error-appear 0.3s ease both; }

.form-field-group:focus-within .form-field-label { color: #3bbf65; }

.form-button { display: flex; width: 100%; margin-top: 1.5rem; }

@media (max-width: 576px) { .form-button { padding: 0.75rem 1.5rem; } }

.form-button-danger { background: linear-gradient(135deg, #e74c3c 0%, #ed7669 100%); }

.form-button-danger:hover { background: linear-gradient(135deg, #e74c3c 0%, #df2e1b 100%); box-shadow: 0 8px 32px rgba(231, 76, 60, 0.25), 0 0 40px rgba(231, 76, 60, 0.1); }

.form-button-danger:active { box-shadow: 0 4px 16px rgba(231, 76, 60, 0.2); }

.form-button-group { display: flex; gap: 0.75rem; margin-top: 1.5rem; }

.form-button-narrow { flex: 1; width: auto; }

.form-card-footer { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1.5rem; margin-bottom: -1rem; padding-top: 1.5rem; text-align: center; border-top: 1px solid rgba(0, 0, 0, 0.08); }

@media (max-width: 576px) { .form-card-footer { margin-bottom: -0.5rem; } }

.form-footer-link { color: #555; text-decoration: none; font-size: 0.88rem; transition: color 0.2s ease; }

.form-footer-link:hover { color: #3bbf65; }

.form-card-description { margin-bottom: 1.25rem; color: #555; line-height: 1.7; font-size: 0.9rem; }

.form-card-description-danger { color: #e74c3c; }

.form-progress { width: 100%; height: 8px; margin-top: 1rem; background: rgba(0, 0, 0, 0.06); border-radius: 4px; overflow: hidden; }

.form-progress-bar { width: 0%; height: 100%; background: linear-gradient(90deg, #3bbf65, #5bddaa); border-radius: 4px; transition: width 0.3s ease; }

.form-progress-text { margin-top: 0.5rem; color: #888; font-size: 0.82rem; }

.form-message { white-space: pre-line; margin-top: 0.75rem; color: #555; font-size: 0.88rem; }

.form-image-preview { display: none; max-width: 100%; margin-top: 1rem; border-radius: 12px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); }

.form-image-preview.visible { display: block; }

.form-field-shake { animation: shake-horizontal 0.4s ease; }

.notice-card { padding: 2rem; background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(16px); border: 1px solid rgba(0, 0, 0, 0.06); border-radius: 20px; box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04); }

.notice-block { padding: 1.25rem 0; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }

.notice-block:first-child { padding-top: 0; }

.notice-block:last-child { padding-bottom: 0; border-bottom: none; }

.notice-heading { color: #1a1a2e; font-family: "Lora", serif; font-size: 1rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.5rem; }

.notice-heading svg { flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; width: 18px; height: 18px; color: #3bbf65; }

.notice-text { margin: 0; padding-left: calc(18px + 0.5rem); color: #555; line-height: 1.8; font-size: 0.85rem; }

@media (max-width: 768px) { .notice-card { padding: 1.5rem; } }

@media (max-width: 576px) { .notice-card { padding: 1.25rem; border-radius: 16px; } .notice-text { padding-left: 0; } }

.copy-icon-default, .copy-icon-done { display: flex; align-items: center; justify-content: center; }

.copy-icon-done { display: none; }

.copy-done .copy-icon-default { display: none; }

.copy-done .copy-icon-done { display: flex; }

.copy-done .copy-icon-done svg { animation: scale-in 0.2s ease; }

.uuid-page { display: flex; gap: 1.5rem; margin: 0 auto; padding: 2rem 1.5rem 4rem; }

.uuid-section { animation: fade-in-up 0.5s ease both; }

.uuid-left-column, .uuid-right-column { display: flex; flex-direction: column; flex: 1; gap: 1.5rem; }

.uuid-left-column > :last-child, .uuid-right-column > :last-child { flex-grow: 1; display: flex; }

.uuid-left-column > :last-child > *, .uuid-right-column > :last-child > * { flex-grow: 1; }

.uuid-right-column .uuid-section:nth-child(1) { animation-delay: 0.1s; }

.uuid-right-column .uuid-section:nth-child(2) { animation-delay: 0.15s; }

.uuid-info-section { animation: fade-in-up 0.5s ease 0.25s both; }

.uuid-card { background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(180%) blur(20px); border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 24px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6); padding: 2rem 1.75rem; }

@media (max-width: 768px) { .uuid-card { border-radius: 20px; } }

@media (max-width: 576px) { .uuid-card { border-radius: 16px; } }

.uuid-card-header { margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(0, 0, 0, 0.06); }

.uuid-card-title { color: #1a1a2e; font-family: "Lora", serif; font-size: 1.3rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.5rem; }

.uuid-card-title svg { flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; width: 22px; height: 22px; color: #3bbf65; }

.uuid-card-description { color: #888; font-size: 0.85rem; margin: 0; line-height: 1.7; }

.uuid-output-list { display: flex; flex-direction: column; gap: 0.75rem; }

.uuid-output-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1rem; background: rgba(0, 0, 0, 0.02); border: 1px solid rgba(0, 0, 0, 0.05); border-radius: 12px; transition: background 0.2s ease; }

.uuid-output-row:hover { background: rgba(0, 0, 0, 0.035); }

.uuid-output-label { flex-shrink: 0; min-width: 100px; color: #555; font-size: 0.8rem; font-weight: 500; }

.uuid-output-result-value, .uuid-output-value { flex: 1; min-width: 0; margin: 0; color: #1a1a2e; letter-spacing: 0.02em; word-break: break-all; font-family: "Consolas", "Monaco", "Courier New", monospace; font-size: 0.88rem; }

.uuid-output-value { user-select: all; }

.uuid-copy-button { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; color: #888; background: transparent; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 8px; cursor: pointer; transition: all 0.2s ease; }

.uuid-copy-button svg { flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; width: 16px; height: 16px; }

.uuid-copy-button:hover { color: #3bbf65; background: rgba(59, 191, 101, 0.06); border-color: rgba(59, 191, 101, 0.2); }

.uuid-copy-button.copy-done { color: #3bbf65; background: rgba(59, 191, 101, 0.1); border-color: rgba(59, 191, 101, 0.3); }

.uuid-field-group { display: flex; flex-direction: column; gap: 1rem; }

.uuid-field { display: flex; flex-direction: column; gap: 0.4rem; }

.uuid-output-result-label, .uuid-field-label { color: #555; font-size: 0.85rem; font-weight: 500; }

.form-field-input-wrapper input.uuid-field-valid { border-color: rgba(59, 191, 101, 0.5); box-shadow: 0 0 0 3px rgba(59, 191, 101, 0.08); }

.form-field-input-wrapper input.uuid-field-invalid { border-color: rgba(231, 76, 60, 0.5); box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.08); }

.uuid-output-result { margin-top: 1.25rem; }

.uuid-output-result-label { margin-bottom: 0.4rem; }

.uuid-output-result-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1rem; background: rgba(59, 191, 101, 0.04); border: 1px solid rgba(59, 191, 101, 0.1); border-radius: 12px; }

.uuid-convert-indicator { display: flex; align-items: center; justify-content: center; padding: 0.25rem 0; color: #888; }

.uuid-convert-indicator svg { flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; width: 20px; height: 20px; }

@media (min-width: 1200px) { .uuid-page { max-width: 60%; min-width: 1200px; } }

@media (max-width: 992px) { .uuid-page { flex-direction: column; max-width: 860px; padding: 1.5rem 1rem 3rem; } }

@media (max-width: 768px) { .uuid-card { padding: 2rem 1.5rem; } .uuid-output-row { flex-wrap: wrap; } .uuid-output-label { width: 100%; min-width: auto; } }

@media (max-width: 576px) { .uuid-card { padding: 1.5rem 1rem; } .uuid-output-row { padding: 0.75rem; border-radius: 10px; } .uuid-output-value { font-size: 0.8rem; } .uuid-output-result-row { border-radius: 10px; } }
