/* horoscope/assets/horoscope.css */

.hrs-wrap {
    max-width: 900px;
    margin: 20px auto;
    background: #fff;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    font-family: Tahoma, Arial, sans-serif;
}

.hrs-title {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 20px;
}

.hrs-sign-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.hrs-sign-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 6px;
    background: #ecf0f1;
    border-radius: 8px;
    text-decoration: none;
    color: #2c3e50;
    transition: background 0.2s, transform 0.15s;
    text-align: center;
}

.hrs-sign-btn:hover {
    background: #dfe6e9;
    transform: translateY(-2px);
}

.hrs-sign-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.hrs-symbol {
    font-size: 26px;
    margin-bottom: 4px;
}

.hrs-name {
    font-size: 12px;
    font-weight: 600;
}

.hrs-result-box {
    background: #f7f9fb;
    border-right: 4px solid #764ba2;
    padding: 18px;
    border-radius: 6px;
    margin-top: 10px;
    line-height: 2;
}

.hrs-result-box h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.hrs-upsell {
    margin-top: 14px;
    padding: 10px;
    background: #fff8e6;
    border-radius: 6px;
    font-size: 14px;
    color: #7a5c00;
}

.hrs-premium .hrs-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hrs-theme-box {
    line-height: 2;
}

.hrs-theme-box h3 {
    color: #764ba2;
    margin: 14px 0 8px;
}

.hrs-theme-divider {
    border: none;
    border-top: 1px dashed #ccc;
    margin: 20px 0;
}

.hrs-faq-box {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed #ccc;
}

.hrs-faq-box h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.hrs-faq-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 8px;
}

.hrs-faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: #34495e;
}

.hrs-faq-item p {
    margin-top: 8px;
    color: #555;
}

.hrs-trust-box {
    margin-top: 18px;
    padding: 10px 14px;
    background: #f0f2f5;
    border-radius: 6px;
    font-size: 12px;
    color: #777;
    line-height: 1.9;
}

.hrs-loading-box {
    text-align: center;
    padding: 30px 10px;
}

.hrs-spinner {
    margin: 0 auto 16px;
    width: 44px;
    height: 44px;
    border: 4px solid #eee;
    border-top: 4px solid #764ba2;
    border-radius: 50%;
    animation: hrs-spin 1s linear infinite;
}

.hrs-loading-support-note {
    margin-top: 10px;
    font-size: 12px;
    color: #a12727;
}

@keyframes hrs-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hrs-notice {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    text-align: center;
    font-weight: 600;
}

.hrs-notice-success { background: #d4f4dd; color: #1e7a34; }
.hrs-notice-error   { background: #fbdcdc; color: #a12727; }

.hrs-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.hrs-form label { font-weight: 600; color: #34495e; }

.hrs-help-text {
    background: #fff8e6;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13px;
    color: #6b5400;
    line-height: 1.9;
    margin: 4px 0 10px;
}

.hrs-sign-select-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.hrs-sign-select-grid-small {
    grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
}

.hrs-sign-radio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 4px;
    background: #ecf0f1;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s, border-color 0.2s;
    position: relative;
}

.hrs-sign-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.hrs-sign-radio .hrs-symbol {
    font-size: 22px;
    margin-bottom: 2px;
}

.hrs-sign-radio .hrs-name {
    font-size: 11px;
    font-weight: 600;
    color: #2c3e50;
}

.hrs-sign-radio:hover {
    background: #dfe6e9;
}

.hrs-sign-radio.active,
.hrs-sign-radio:has(input:checked) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #764ba2;
}

.hrs-sign-radio.active .hrs-name,
.hrs-sign-radio:has(input:checked) .hrs-name {
    color: #fff;
}

.hrs-recover-form {
    flex-direction: column !important;
    align-items: stretch !important;
}

.hrs-form select,
.hrs-form input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.hrs-radio-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-weight: normal;
}

.hrs-buy-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 6px;
}

.hrs-buy-btn:hover { opacity: 0.92; }

.hrs-recover {
    margin-top: 20px;
    background: #f7f9fb;
    padding: 12px 16px;
    border-radius: 6px;
}

.hrs-recover summary {
    cursor: pointer;
    font-weight: 600;
    color: #34495e;
}

.hrs-recover .hrs-form {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 12px;
}

@media (max-width: 600px) {
    .hrs-sign-grid { grid-template-columns: repeat(3, 1fr); }
    .hrs-recover .hrs-form { flex-direction: column; align-items: stretch; }
}