/* =====================================================
   NUMEROLOGIJA FRONTEND STYLES
   Dizajn kao natalna karta
   ===================================================== */

/* Form Wrapper */
.numero-form-wrapper {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

.numero-form {
    background: #1a1a2e;
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

/* Header */
.numero-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.numero-form-header .numero-icon {
    font-size: 40px;
    display: inline-block;
    margin-bottom: 10px;
}

.numero-form-header h2 {
    color: white;
    font-size: 28px;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.numero-form-header p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin: 0;
}

/* Form Body */
.numero-form-body {
    
}

/* Form Group */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-group input::placeholder {
    color: rgba(255,255,255,0.4);
}

.form-group input:focus {
    outline: none;
    border-color: #9333ea;
    background: rgba(255,255,255,0.15);
}

/* Date Selects */
.date-selects {
    display: grid;
    grid-template-columns: 1fr 2fr 1.2fr;
    gap: 10px;
}

.date-selects select {
    padding: 14px 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: white;
    font-size: 15px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

.date-selects select:focus {
    outline: none;
    border-color: #9333ea;
}

.date-selects select option {
    background: #1a1a2e;
    color: white;
}

/* Buttons */
.form-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 30px;
}

.btn-paid {
    flex: 1;
    padding: 16px 24px;
    background: linear-gradient(135deg, #7d3bed, #9333ea);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-paid:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.4);
}

.btn-paid .btn-text {
    display: block;
}

.btn-paid .btn-price {
    display: block;
    font-size: 14px;
    opacity: 0.9;
    margin-top: 2px;
}

.btn-free {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    cursor: pointer;
    padding: 10px;
    font-style: italic;
    transition: color 0.3s;
    white-space: nowrap;
}

.btn-free:hover {
    color: white;
}

/* Loader */
.numero-form-loader {
    text-align: center;
    padding: 40px 20px;
}

.numero-form-loader .loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255,255,255,0.1);
    border-top: 4px solid #9333ea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.numero-form-loader p {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* =====================================================
   RESULT PAGE STYLES
   ===================================================== */

.astro-numero-result {
    max-width: 900px;
    margin: 0 auto;
}

.result-header {
    text-align: center;
    margin-bottom: 30px;
}

.result-header h2 {
    font-size: 28px;
    color: #7d3bed;
    margin-bottom: 5px;
}

.result-date {
    color: #666;
    font-size: 16px;
}

/* Numero Cards */
.numero-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.numero-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.numero-card:hover {
    transform: translateY(-5px);
}

.numero-card.main {
    background: linear-gradient(135deg, #7d3bed, #9333ea);
    color: white;
}

.numero-card .card-number {
    font-size: 48px;
    font-weight: bold;
    color: #7d3bed;
    line-height: 1;
    margin-bottom: 10px;
}

.numero-card.main .card-number {
    color: white;
}

.numero-card .card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.numero-card .card-desc {
    font-size: 13px;
    color: #666;
}

.numero-card.main .card-desc {
    color: rgba(255,255,255,0.8);
}

/* Personal Year Section */
.personal-year {
    background: linear-gradient(135deg, #f0e6ff, #e0d0ff);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
}

.personal-year h3 {
    color: #7d3bed;
    margin-bottom: 15px;
}

.personal-year-number {
    font-size: 72px;
    font-weight: bold;
    color: #7d3bed;
    line-height: 1;
    margin-bottom: 10px;
}

.personal-year-desc {
    color: #666;
    font-size: 16px;
}

/* Additional Section */
.numero-section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.numero-section h3 {
    color: #7d3bed;
    margin-bottom: 15px;
    font-size: 18px;
}

.additional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.additional-item {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.additional-item.highlight {
    background: #f0e6ff;
}

.additional-item .label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.additional-item .value {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

/* CTA Section */
.numero-cta {
    background: linear-gradient(135deg, #7d3bed, #9333ea);
    color: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
}

.numero-cta h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 15px;
}

.numero-cta p {
    margin-bottom: 15px;
}

.numero-cta ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
    display: inline-block;
}

.numero-cta ul li {
    padding: 5px 0;
}

.numero-cta .btn-upgrade {
    background: white;
    color: #7d3bed;
    margin-top: 15px;
}

.numero-cta .btn-upgrade:hover {
    background: #f0e6ff;
}

/* No Result */
.astro-numero-no-result {
    text-align: center;
    padding: 50px;
    background: #f9f9f9;
    border-radius: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .astro-numero-form {
        padding: 20px;
    }
    
    .astro-numero-form .date-inputs {
        grid-template-columns: 1fr;
    }
    
    .numero-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .personal-year-number {
        font-size: 56px;
    }
}
