.card {    
    border-radius: 10px;
    margin-top:10px;
}

.callout {
    margin-top:10px;
    border-radius: 10px;
}

.button {
    border-radius: 10px;
}

input {
    border-radius: 10px;
}
[type='text'], [type='password'], [type='date'], [type='datetime'], [type='datetime-local'], [type='month'], [type='week'], [type='email'], [type='number'], [type='search'], [type='tel'], [type='time'], [type='url'], [type='color'], textarea  {

    border-radius: 10px;
}

select {
    border-radius: 10px;
}

.App-header {
    opacity:0.9;
}

.App-header h1 {
    position: relative;
    top: 10px;
}

html body {
    background-size: cover;
    background-repeat: no-repeat;
  }

/* User Navigation Styles */
/* User navigation styles are now defined in the header layout fixes section */

/* Profile Card Enhancements */
.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.profile-header h5 {
    margin: 0;
    flex: 1;
}

.profile-meta {
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.profile-meta p {
    margin: 0.25rem 0;
}

.profile-meta i {
    margin-right: 0.25rem;
    color: var(--secondary-color, #7cb342);
}

.profile-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.profile-actions .button {
    flex: 1;
    min-width: auto;
}

/* Search Container Enhancements */
.search-container .lead {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-light, #7f8c8d);
}

/* Empty State Styles */
.empty-state {
    padding: 3rem 1rem;
}

.empty-state i {
    display: block;
    margin-bottom: 1rem;
}

.empty-state h3 {
    margin-bottom: 1rem;
    color: var(--text-dark, #2c3e50);
}

.empty-state p {
    margin-bottom: 2rem;
    color: var(--text-light, #7f8c8d);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Input Group Enhancements */
.input-group {
    margin-bottom: 0;
}

.input-group .input-group-field {
    margin-bottom: 0;
}

/* Location Update Styles */
.location-update {
    background: var(--bg-light, #f8f9fa);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.location-update label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* User Location Styles */
.user-location h4 {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.user-location i {
    color: var(--secondary-color, #7cb342);
}

/* Quick Actions Styles */
.quick-actions h4 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-actions i {
    color: var(--secondary-color, #7cb342);
}

/* Responsive Improvements */
@media screen and (max-width: 768px) {
    .profile-actions {
        flex-direction: column;
    }
    
    .profile-actions .button {
        flex: none;
    }
    
    .user-location h4 {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

/* Loading Animation Enhancement */
.loading::after {
    border-color: var(--primary-color, #2c5530) !important;
    border-top-color: transparent !important;
}

/* Button Icon Spacing */
.button i {
    margin-right: 0.5rem;
}

.button i:last-child {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* Foundation Icons Color Fixes */
.fi-home, .fi-marker, .fi-power, .fi-magnifying-glass, 
.fi-torso-business, .fi-plus, .fi-pencil, .fi-eye, 
.fi-check, .fi-results, .fi-torsos-all, .fi-calendar {
    color: inherit;
}

/* Smooth transitions for interactive elements */
.profile-card, .result-card, .button, input, select, textarea {
    transition: all 0.3s ease;
}

/* Focus states for accessibility */
input:focus, select:focus, textarea:focus, .button:focus {
    outline: 2px solid var(--secondary-color, #7cb342);
    outline-offset: 2px;
}

/* Hover effects for cards */
.profile-card:hover, .result-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Enhanced callout spacing */
.callout.animate-on-scroll {
    margin-bottom: 2rem;
}

/* Login and form pages centering fix */
.grid-x.align-center {
    justify-content: center !important;
}

.grid-x.align-center .cell {
    max-width: none !important;
}

/* Ensure main content containers are properly centered */
main .grid-x.grid-padding-x.align-center {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

/* Responsive container max-widths */
.large-6.cell {
    max-width: 50rem !important;
}

.large-8.cell {
    max-width: 60rem !important;
}

.medium-8.cell {
    max-width: 50rem !important;
}

.medium-10.cell {
    max-width: 60rem !important;
}

/* Center alignment helper */
.text-center {
    text-align: center !important;
}

/* Profile card improvements */
.profile-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color, #2c5530), var(--secondary-color, #7cb342));
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.profile-card .profile-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.profile-card .profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color, #2c5530), var(--secondary-color, #7cb342));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.profile-card .profile-info h3 {
    margin: 0 0 0.25rem 0;
    color: var(--text-dark, #2c3e50);
    font-size: 1.2rem;
}

.profile-card .profile-info p {
    margin: 0;
    color: var(--text-light, #7f8c8d);
    font-size: 0.9rem;
}

/* Search and filtering improvements */
.search-container {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
}

.search-container .search-header {
    text-align: center;
    margin-bottom: 2rem;
}

.search-container .search-header h2 {
    color: var(--text-dark, #2c3e50);
    margin-bottom: 0.5rem;
}

.search-container .search-header p {
    color: var(--text-light, #7f8c8d);
    margin: 0;
}

.search-form {
    display: flex;
    gap: 1rem;
    align-items: end;
}

.search-form .form-group {
    flex: 1;
}

.search-form .search-btn {
    background: linear-gradient(135deg, var(--primary-color, #2c5530), var(--secondary-color, #7cb342));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.search-form .search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.3);
}

/* Header layout fixes - Override Foundation grid completely */
.App-header {
    min-height: auto;
    padding: 1rem 0;
}

.App-header .grid-container {
    max-width: 100%;
    padding: 0 1rem;
}

.App-header .grid-x {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
}

.App-header .grid-x > .cell {
    flex: none !important;
    width: auto !important;
    max-width: none !important;
}

.App-header .grid-x > .cell:first-child {
    flex: 0 0 auto !important;
}

.App-header .grid-x > .cell:last-child {
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: flex-end !important;
}

.App-header h1 {
    margin: 0;
    font-size: 1.5rem;
    white-space: nowrap;
}

.user-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.user-nav .user-name {
    color: var(--text-dark, #2c3e50);
    font-weight: 500;
    margin-right: 0.5rem;
    white-space: nowrap;
}

.user-nav .button {
    margin: 0;
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Responsive design improvements */
@media screen and (max-width: 768px) {
    .App-header .text-right {
        text-align: center !important;
        justify-content: center;
        margin-top: 1rem;
    }
    
    .user-nav {
        flex-direction: row;
        gap: 0.5rem;
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
    }
    
    .user-nav .user-name {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
    
    .user-nav .button {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
    
    .search-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-form .search-btn {
        justify-content: center;
        width: 100%;
    }
    
    .profile-card .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    /* Fix form centering on mobile */
    .grid-x.grid-padding-x.align-center {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}
