:root {
    --primary-color: #0033a1;  /* SailPoint primary blue */
    --secondary-color: #0071ce;  /* SailPoint secondary blue */
    --accent-color: #cc27b0;  /* SailPoint accent red */
    --success-color: #93d500;  /* SailPoint success green */
    --warning-color: #FFAB00;  /* SailPoint warning yellow */
    --light-gray: #F4F5F7;  /* SailPoint light gray */
    --dark-gray: #172B4D;  /* SailPoint dark gray */
    --text-color: #42526E;  /* SailPoint text color */
}

body {
    background-color: var(--light-gray);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
}

.navbar {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-container .input-group {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.search-container .form-control {
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
}

.search-container .btn {
    padding: 0 2rem;
    font-weight: 500;
}

.result-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.result-card .card-body {
    padding: 1.5rem;
}

.result-card .card-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.result-card .card-text {
    color: var(--dark-gray);
}

.result-card .card-text i {
    width: 20px;
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.details-view {
    display: none;
    margin-top: 2rem;
}

.graph-container {
    height: calc(100vh - 300px);
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.graph-container.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    z-index: 1000;
    border-radius: 0;
}

.fullscreen-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1001;
    background: var(--light-gray);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.download-toggle {
    position: absolute;
    top: 10px;
    right: 60px;
    z-index: 1001;
    background: var(--light-gray);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.json-toggle {
    position: absolute;
    top: 10px;
    right: 110px;
    z-index: 1001;
    background: var(--light-gray);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.download-toggle:hover {
    background: var(--light-gray);
    transform: scale(1.1);
}

.download-toggle i {
    font-size: 1.2rem;
}

.json-toggle:hover {
    background: var(--light-gray);
    transform: scale(1.1);
}

.json-toggle i {
    font-size: 1.2rem;
}

.info-toggle {
    background: transparent;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.info-toggle:hover {
    transform: scale(1.1);
}

.info-toggle i {
    font-size: 1.5rem;
}

.fullscreen-toggle:hover {
    background: var(--light-gray);
    transform: scale(1.1);
}

.fullscreen-toggle i {
    font-size: 1.2rem;
}

#network {
    width: 100%;
    height: 100%;
}

.details-panel {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: calc(100vh - 300px);
    position: sticky;
    top: 2rem;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.details-panel .sticky-header {
    background: white;
    border-bottom: 2px solid var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px 10px 0 0;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.details-panel .panel-title {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
    font-size: 1.75rem;
}

.details-panel .scrollable-content {
    overflow-y: auto;
    flex-grow: 1;
    padding: 1.5rem;
}

.details-panel .card {
    border: none;
    height: 100%;
}

.details-panel .card-body {
    padding: 1.5rem;
}

.details-panel p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.details-panel p i {
    width: 25px;
    color: var(--secondary-color);
}

.loading {
    display: none;
    text-align: center;
    margin: 2rem 0;
}

.loading .spinner-border {
    width: 3rem;
    height: 3rem;
    color: var(--primary-color);
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.status-badge[style*="background-color: #d4edda"] {
    background-color: var(--success-color) !important;
    color: white !important;
}

.status-badge[style*="background-color: #f8d7da"] {
    background-color: var(--accent-color) !important;
    color: white !important;
}

.status-badge[style*="background-color: #fff3cd"] {
    background-color: var(--warning-color) !important;
    color: var(--dark-gray) !important;
}

.status-badge[style*="background-color: #cce5ff"] {
    background-color: var(--secondary-color) !important;
    color: white !important;
}

.alert {
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0047B3;
    border-color: #0047B3;
}

.alert-info {
    background-color: #E6F3FF;
    border-color: #B3D4FF;
    color: var(--primary-color);
}

.alert-danger {
    background-color: #FFEBE6;
    border-color: #FFBDAD;
    color: var(--accent-color);
}

.manager-chain {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.manager-chain h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.manager-chain-item {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.manager-chain-item:hover {
    background: var(--light-gray);
    transform: translateX(5px);
}

.manager-chain-item i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.manager-chain-item .name {
    font-weight: 500;
    color: var(--primary-color);
}

.manager-chain-item .email {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.accordion-button {
    background-color: var(--light-gray);
    color: var(--primary-color);
    font-weight: 500;
    padding: 1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

.accordion-button::after {
    background-size: 1.25rem;
    transition: all 0.2s ease;
}

.attribute-row {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.attribute-row:last-child {
    border-bottom: none;
}

.attribute-row strong {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.vcard-toggle {
    background: var(--light-gray);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.vcard-toggle:hover {
    background: var(--light-gray);
    transform: scale(1.1);
}

.vcard-toggle i {
    font-size: 1.2rem;
} 