/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file. */

#manage-profile-overlay {
  width: 612px;
}

.profile-icon-grid-item {
  height: 31px;
  margin: 2px 4px;
  padding: 4px;
  width: 38px;
}

.profile-icon {
  height: 31px;
  width: 38px;
}

#create-profile-name-input-container,
#manage-profile-name-input-container {
  margin-top: 5px;
}

#create-profile-name-input-container {
  margin-bottom: 5px;
}

#create-profile-name,
#manage-profile-name {
  margin-left: 10px;
}

#create-profile-name:invalid,
#manage-profile-name:invalid {
  background-color: pink;
}

#disconnect-managed-profile-domain-name {
  font-weight: bold;
}

#disconnect-managed-profile-domain-information {
  background-color: #f0f0f0;
  padding: 14px 0 14px 17px;
}

#disconnect-managed-profile-message {
  padding-top: 9px;
}

#create-profile-error-bubble,
#manage-profile-error-bubble {
  -webkit-transition: max-height 200ms, padding 200ms;
  background-color: rgb(238, 185, 57);
  border-radius: 4px;
  font-weight: bold;
  margin-left: auto;
  margin-right: auto;
  max-height: 50px;
  overflow: hidden;
  padding: 10px 10px;
  text-align: center;
  width: 80%;
}

html[dir='ltr'] #create-profile-error-bubble {
  margin-left: 20px;
  width: 90%;
}

html[dir='rtl'] #create-profile-error-bubble {
  margin-right: 20px;
  width: 90%;
}

#create-profile-error-bubble[hidden],
#manage-profile-error-bubble[hidden] {
  display: block !important;
  max-height: 0;
  padding: 0 10px;
}

#create-profile-icon-grid,
#manage-profile-icon-grid {
  background-color: rgba(255, 255, 255, 0.75);
  padding: 2px;
}

:-webkit-any(#create-profile-content, #manage-profile-content) >
    :not(:last-child) {
  margin-bottom: 10px;
}

:-webkit-any(#create-profile-content, #manage-profile-content) >
    :not(:first-child) {
  margin-top: 10px;
}

:-webkit-any(#create-profile-content, #manage-profile-content) >
    .name-input-container {
  margin-top: 5px;
}

:-webkit-any(#create-profile-content, #manage-profile-content) >
    .name-label-container {
  margin-bottom: 5px;
}

#create-profile-content {
  padding-bottom: 0;
}

.action-area-shortcut-container {
  -webkit-box-flex: 1;
}

/* Proper spacing for the buttons. */
#remove-shortcut-button,
#add-shortcut-button {
  -webkit-margin-end: 10px;
}

#delete-managed-profile-addendum {
  -webkit-padding-start: 48px;
  margin-top: 10px;
}

html[dir='ltr'] #delete-profile-icon {
  float: left;
  margin-right: 10px;
}

html[dir='rtl'] #delete-profile-icon {
  float: right;
  margin-left: 10px;
}

#create-profile-managed-not-signed-in {
  color: #999;
}

#create-profile-managed-not-signed-in-label,
#create-profile-managed-account-details-out-of-date-label {
  white-space: pre-wrap;
  word-wrap: break-word;
}

#create-profile-managed-content-area {
  padding-top: 5px;
}

#import-existing-managed-user-link {
  left: 17px;
  position: absolute;
}

#supervised-user-import {
  margin: 0;
  padding: 0;
}
