.text-astro {
    color: #785309;
}

.search-container .form-control {
    border-radius: 25px;
    border: 1px solid #ddd;
    padding: 12px 20px;
    font-size: 16px;
}

.search-container .input-group-text {
    background: #785309;
    color: white;
    border-radius: 0 25px 25px 0;
    border: 1px solid #785309;
}

.profile-grid-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    height: 100%;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.profile-grid-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(108, 92, 231, 0.15);
    border-color: #785309;
}

.profile-card-header {
    position: relative;
    margin-bottom: 20px;
}

.profile-avatar-large {
    position: relative;
    display: inline-block;
}

.avatar-circle-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #CDA24D, #9c7830);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(108, 92, 231, 0.3);
    margin: 0 auto;
}

.destiny-badge-large {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #5b521e;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.3);
}

.profile-name {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.profile-gender,
.profile-birth-date {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.numbers-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.number-item {
    text-align: center;
    padding: 8px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.number-label {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 3px;
}

.number-value {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: #785309;
}

.btn-astro {
    background: #CDA24D;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-astro:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
    color: white;
}

.profile-detail-section {
    min-height: 100vh;
    background: #f8f9fa;
    padding: 20px 0;
}

.profile-sidebar {
    background: white;
    border-radius: 15px;
    padding: 20px;
    height: calc(100vh - 40px);
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-button {
    color: #785309;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 10px 0;
    margin-bottom: 20px;
}

.back-button:hover {
    color: #fff;
    text-decoration: none;
}

.selected-profile-summary {
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    background: linear-gradient(45deg, #f8f7ff, #ffffff);
    border: 1px solid #e9ecef;
}

.profile-detail {
    background: white;
    border-radius: 15px;
    padding: 30px;
    min-height: calc(100vh - 40px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f1f1;
}

.detail-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(45deg, #CDA24D, #9c7830);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    margin-right: 25px;
    box-shadow: 0 5px 20px rgba(108, 92, 231, 0.3);
}

.detail-info h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 5px;
}

.detail-info p {
    color: #666;
    margin-bottom: 5px;
}

.numerology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.number-card {
    background: linear-gradient(45deg, #f8f7ff, #ffffff);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease;
}

.number-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.15);
}

.number-card .number-value {
    font-size: 3rem;
    font-weight: bold;
    color: #785309;
    margin-bottom: 10px;
}

.number-card .number-label {
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 5px;
}
.back-button{
    background:#785309;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}
.number-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .profile-grid-card {
        margin-bottom: 20px;
    }

    .numbers-preview {
        grid-template-columns: 1fr;
    }

    .profile-detail-section .container-fluid {
        padding: 0 15px;
    }
}