/* css-&-js/style.css */
section.bg-home-codehap {
    min-height: 100vh !important; 
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding-top: 50px !important; 
    padding-bottom: 50px !important;
}
section.bg-home-codehap > .container {
    width: 100%;
    margin: 0 auto;
}

/* MODERN SEARCH BAR STYLES */
.modern-search-wrapper {
    background-color: #131722; border: 1px solid #2d4280; border-radius: 50px;
    display: flex; align-items: center; padding: 6px 6px 6px 24px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2); transition: all 0.3s ease; margin-top: 30px;
}
.modern-search-wrapper:focus-within { box-shadow: 0 0 25px rgba(59, 130, 246, 0.5); border-color: #3b82f6; }
.modern-search-icon { display: flex; align-items: center; margin-right: 12px; }
.modern-search-input {
    flex: 1; background-color: transparent !important; border: none !important;
    color: #ffffff !important; font-size: 16px; font-weight: 100 !important; outline: none !important; box-shadow: none !important; 
}
.modern-search-input::placeholder { color: #9ca3af; font-weight: 400 !important; }
.modern-search-input:-webkit-autofill { -webkit-box-shadow: 0 0 0 30px #131722 inset !important; -webkit-text-fill-color: #ffffff !important; }

.modern-search-btn {
    background-color: #1a73e8; color: white; border: none; border-radius: 50px;
    padding: 12px 28px; font-size: 16px; font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 8px;
}
.modern-search-btn:hover { background-color: #1557b0; }

/* PLAN A UI (NEW 2 DIVS) STYLING */
.plan-a-grid { display: flex; gap: 20px; margin-top: 30px; flex-wrap: wrap; text-align: left; }
.main-panel { flex: 2; min-width: 300px; background: #fff; border: 1px solid #e0e0e0; border-radius: 10px; padding: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.side-panel { flex: 1; min-width: 250px; background: #f9f9f9; border: 1px solid #e0e0e0; border-radius: 10px; padding: 20px; }
.panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.panel-header h3 { font-size: 18px; margin: 0; color: #333; }
.char-count { font-size: 14px; color: #666; font-weight: bold; }
.tags-container { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-pill { display: inline-flex; align-items: center; background: #ffffff; border: 1px solid #e0e0e0; padding: 8px 12px; border-radius: 20px; font-size: 14px; color: #333; box-shadow: 0 2px 5px rgba(0,0,0,0.08); transition: transform 0.2s; }
.tag-pill:hover { transform: translateY(-2px); }
.tag-action { margin-left: 8px; background: #f0f0f0; border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 12px; color: #555; }
.action-remove:hover { background: #ffebeb; color: red; }
.action-add:hover { background: #e8f5e9; color: green; }
.copy-btn { width: 100%; background: #1a73e8; color: white; border: none; padding: 12px; border-radius: 8px; margin-top: 20px; font-weight: bold; cursor: pointer; display: none; }