/* AI Plan Finder Styles */
/* File: ai-plan-finder.css */
.ai-plan-finder-wrapper {
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    position: relative;
    margin: 0 auto;
}
.ai-plan-finder-container {
    background: linear-gradient(135deg, #00718A 0%, #0A99B9 100%);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(8, 145, 178, 0.25);
    position: relative;
}
 
.ai-plan-finder-header {
    display: flex;
    align-items: center;
    margin-bottom: 36px;
    gap: 20px;
}
.ai-plan-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: url(../img/ai.svg) no-repeat center;
}
.ai-plan-icon svg{
    opacity: 0;
}
.ai-plan-header-text {
    flex: 1;
}
.ai-plan-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 5px 0 !important;
    line-height: 1.2;
}
.ai-plan-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0;
    font-weight: 400;
    line-height: 1.4;
}

.ai-plan-finder-form {
    position: relative;
    z-index: 1;
}

.ai-plan-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 20px;
    align-items: end;
}

.ai-plan-form-group {
    display: flex;
    flex-direction: column;
}

.ai-plan-label {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.ai-plan-input-wrapper {
    position: relative;
}

.ai-plan-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #1e293b;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.ai-plan-input:focus {
    outline: none;
    border-color: #ffffff;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.ai-plan-input::placeholder {
    color: #94a3b8;
}

.ai-plan-select-wrapper {
    position: relative;
}
.ai-plan-input-wrapper input[type="text"],
.ai-plan-select {
  width: 100%;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.1) !important;   
  backdrop-filter: blur(10px);               
  color: #fff !important;
  font-size: 16px;
  outline: none;
  transition: all 0.25s ease;
  height: 54px;
}
/* ✅ Placeholder text color (70% white) */
.ai-plan-input-wrapper input[type="text"]::placeholder ,
.ai-plan-select {
  color: rgba(255, 255, 255, 0.7) !important;
}
.ai-plan-input-wrapper input[type="text"]:focus,
.ai-plan-select:focus {
  border-color: rgba(255, 255, 255, 0.7); /* Highlighted stroke */
  background: rgba(255, 255, 255, 0.2);   /* Slightly brighter fill */
}
 

.ai-plan-select option {
    color: #1e293b;
}
.ai-plan-calendar-icon {
    position: absolute;
    right: 2px;
    top: 2px;
    pointer-events: none;
    width: 56px;
    height: 50px;
    display: flex;
    align-items: center;
    border-radius: 0 12px 12px 0;
    justify-content: center;
    background: #fff url(../img/date.svg) no-repeat center;
}
.ai-plan-calendar-icon svg{
    opacity: 0;
}
.ai-plan-submit-btn {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #0891B2;
    background: #ffffff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.ai-plan-submit-btn:hover {
    background: #f0f9ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
     color: #0891B2;
     height:54px;
}

.ai-plan-submit-btn:active {
    transform: translateY(0);
}

.ai-plan-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    margin-top: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    border: 1px solid #e2e8f0;
}

.suggestion-item {
    padding: 12px 20px;
    cursor: pointer;
    color: #1e293b;
    font-size: 15px;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: #f0f9ff;
    color: #0891B2;
}

/* Scrollbar styling for suggestions */
.ai-plan-suggestions::-webkit-scrollbar {
    width: 8px;
}

.ai-plan-suggestions::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 0 12px 12px 0;
}

.ai-plan-suggestions::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.ai-plan-suggestions::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .ai-plan-finder-container {
        padding: 40px 40px;
    }
    
    .ai-plan-form-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .ai-plan-form-group:last-child {
        grid-column: 1 / -1;
    }
    
    .ai-plan-submit-btn {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .ai-plan-finder-container {
        padding: 32px 24px;
        border-radius: 16px;
    }
    
    .ai-plan-finder-header {
        margin-bottom: 28px;
        gap: 16px;
    }
    
    .ai-plan-icon {
        width: 56px;
        height: 56px;
    }
    
    .ai-plan-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .ai-plan-title {
        font-size: 26px;
    }
    
    .ai-plan-subtitle {
        font-size: 15px;
    }
    
    .ai-plan-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .ai-plan-form-group:last-child {
        grid-column: 1;
    }
    
    .ai-plan-label {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .ai-plan-input,
    .ai-plan-select {
        padding: 14px 18px;
        font-size: 15px;
    }
    
    .ai-plan-select {
        padding-right: 45px;
    }
    
    .ai-plan-submit-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}

@media screen and (max-width: 480px) {
    
    .ai-plan-finder-container {
        padding: 24px 20px;
    }
    
    .ai-plan-finder-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 24px;
    }
    
    .ai-plan-title {
        font-size: 24px;
    }
    
    .ai-plan-subtitle {
        font-size: 14px;
    }
}